-
Notifications
You must be signed in to change notification settings - Fork 25
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
Include params #14
Labels
Comments
Currently, the only possible way to do that is to use the example you passed or a It looks like a very interesting feature to add a support for |
Cool. Not sure if it helps, but I was expecting some kind of syntax like: findWookies: resourceAction('find-em', {
type: 'POST',
pushToStore: true,
include: 'wookie,tart',
filter: {name: 'chewie'},
queryParams: {single: false}
}),
//or
findWookies: resourceAction('find-em', {
type: 'POST',
pushToStore: true,
//May be simpler to have the options grouped in one key, so they could just be parsed into a string
pathOptions: {
include: 'wookie,tart',
filter: {name: 'chewie'},
queryParams: {single: false}
}
}), |
OK, today it is on my way :) Potential interface: findWookies: resourceAction('find-em', {
type: 'POST',
pushToStore: true,
params: {
single: false,
include: 'wookie,tart',
filter: { name: 'chewie' },
}
}), Branch: |
Merged
Implemented :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Other than putting them into the URL, is there a way to add include params?
The text was updated successfully, but these errors were encountered: