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
-
The same way we have access to
request
, it would be nice to have access toparams
as well:So we could use
params.foo
with the route/routes/[foo]/bar
Don'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