-
Notifications
You must be signed in to change notification settings - Fork 983
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Multiple Datasource] Export DataSourcePluginRequestContext at top level for plugins to use #6108
Conversation
Signed-off-by: Lu Yu <nluyu@amazon.com>
Signed-off-by: Lu Yu <nluyu@amazon.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6108 +/- ##
==========================================
+ Coverage 67.13% 67.15% +0.01%
==========================================
Files 3324 3324
Lines 64318 64318
Branches 10344 10344
==========================================
+ Hits 43178 43190 +12
+ Misses 18617 18605 -12
Partials 2523 2523
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -20,4 +20,8 @@ export function plugin(initializerContext: PluginInitializerContext) { | |||
return new DataSourcePlugin(initializerContext); | |||
} | |||
|
|||
export { DataSourcePluginSetup, DataSourcePluginStart } from './types'; | |||
export { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the only location need to add requestcontext? Thanks
…vel for plugins to use (#6108) * export context as top level Signed-off-by: Lu Yu <nluyu@amazon.com> * add changelog Signed-off-by: Lu Yu <nluyu@amazon.com> --------- Signed-off-by: Lu Yu <nluyu@amazon.com> (cherry picked from commit ead2947) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md
…vel for plugins to use (#6108) (#6111) * export context as top level Signed-off-by: Lu Yu <nluyu@amazon.com> * add changelog Signed-off-by: Lu Yu <nluyu@amazon.com> --------- Signed-off-by: Lu Yu <nluyu@amazon.com> (cherry picked from commit ead2947) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> # Conflicts: # CHANGELOG.md Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
This change export DataSourcePluginRequestContext at top level for external plugins to consume
Issues Resolved
Fixes #6045
Screenshot
type.mp4
Testing the changes
The following were performed in the recording:
Check List
yarn test:jest
yarn test:jest_integration