qwik-city: require validator when arguments are sent to server #25
wmertens
started this conversation in
Proposals For Qwik
Replies: 0 comments
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.
-
Problem
It's easy to forget that rpc calls like
server$can be done by anyone with any arguments.Qwik should be secure by default.
Proposed Solution / Feature
What do you propose?
Whenever a server function requires an argument, require a validator
Code examples
See #24 for validation of server$ arguments
Beta Was this translation helpful? Give feedback.
All reactions