-
Notifications
You must be signed in to change notification settings - Fork 180
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
[Access] Add arguments getter for data providers #6873
base: master
Are you sure you want to change the base?
[Access] Add arguments getter for data providers #6873
Conversation
…ssageResponse with Arguments, updated unit tests
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6873 +/- ##
=======================================
Coverage 41.08% 41.09%
=======================================
Files 2119 2119
Lines 185893 185917 +24
=======================================
+ Hits 76383 76408 +25
+ Misses 103105 103096 -9
- Partials 6405 6413 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
….com:The-K-R-O-K/flow-go into UlianaAndrukhiv/6865-data-provider-arguments
…of github.com:The-K-R-O-K/flow-go into UlianaAndrukhiv/6865-data-provider-arguments
…age-id to avoid pendency on it
LGTM |
….com:The-K-R-O-K/flow-go into UlianaAndrukhiv/6865-data-provider-arguments
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.
looks good after addressing test comment
@@ -483,8 +483,10 @@ func (s *WsControllerSuite) TestListSubscriptions() { | |||
|
|||
id := uuid.New() | |||
topic := dp.BlocksTopic | |||
arguments := models.Arguments{} |
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.
can you add some value into the arguments map to ensure we're testing that the same set is returned in the asserts. Otherwise we could miss a bug where an empty argument set is passed instead
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.
flagging a couple more merge conflicts
@Guitarheroua can you review this one as well |
Looks good to me |
Closes: #6865
Context
This pull request adds a method
Arguments
to the data providers, allowing retrieval of stored initial request arguments. This method used by thelistOfSubscription
to fill theArguments
field forListSubscriptionsMessageResponse
.