You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add option to toggle if callsite should include all underlying resource parameters #56
i.e. we assume that the underlying resource takes its actual data arguments in the first parameter as an object. The rest are meta arguments which have defaults, and we never really care about overriding them from inside a resolver method.
In this world, a dataloader interface would look like this:
This fits nicely with the interface of dataloader anyway (you can only send one argument as a key)
This assumption has been made because that's the interface of the underlying resources Yelp currently uses. But this might not always be true!
Proposed New Functionality
We should add an option - something like "useAllArguments" so if you wanted to override fetch from a resolver method, your dataloader interface would look like this:
Activity