Replies: 1 comment 1 reply
-
|
Hmm.. actions don't have a route really that they are associated with. Like in order to send params we'd need to send it as part of the the request. Technically we have the referer I believe so maybe some consideration here but it hasn't been processed by the router so getting it out in such a clean form might be more involved. While I understand this is probably pretty common the suggestion right now is to encode it in a hidden input field in the form, or pass it as a variable to the mutation. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The same way we have access to
request, it would be nice to have access toparamsas well:So we could use
params.foowith the route/routes/[foo]/barDon't know if there are reasons I'm unaware of for not doing/being able to do that. Hence the "Ideas" category ;)
Beta Was this translation helpful? Give feedback.
All reactions