-
Notifications
You must be signed in to change notification settings - Fork 22
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
Params not passed to server #150
Comments
I've tested this quite thoroughly now and it seems like for For The My expectation is that it is added to I've now done that manually in all before hooks:
So this workaround works well for anything besides |
Every Feathers interface accepts params, but params aren't passed by default. I'm not sure that I've ever used custom params on create. It makes more sense to me to use the data interface for create, now... but it seems like I did have params working for create back in the feathers-vuex days. I'm not sure when I'll be able to address this. I'm merging in all PRs that are ready, today. If you want to create a PR, I'll review it in the next batch, which would be a couple of weeks away, likely. If not, please work around the issue by using data. |
Hi
Perhaps I'm missing something, why is the params not passed to the server here?
The query params is received empty on the server.
I've added
$clientData
toparamsForServer
list increatePiniaClient
config.Even though
params
is listed for all instance methods, in the Pinia client config is says:"paramsForServer is an array of query keys for findInStore to ignore and pass to the find action's query."
So does
params
only get sent to server forfind
?If so, is there no other way to send
params
for other types of requests?The text was updated successfully, but these errors were encountered: