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
Make it possible to provide default values for query string and header params #658
Comments
I assume URL params implies both path and query params. |
I guess I should have called it Action/Resource Params. I'll edit to make it clearer. |
@bits01 setting default values on path parameters doesn't make a lot of sense because the mux enforces they have values. It might be good to fail actually if defaults are provided for those with a nice error message explaining this. So we're talking about query string parameters and header parameters. |
Ooops, didn't give it a lot of thought at 7am :-) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
At the moment we can't specify a default value for params inside a resource or action.
The text was updated successfully, but these errors were encountered: