Nullable and Filled #951
Unanswered
leonardocustodio
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Those Laravel validation rules combinations always give me headaches 🤯 So, are you sure any kind of behaviour you observed is specific to this library and not how Laravel itself behaves? I suggest you perform some tests without GraphQL context to make sure. |
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.
-
Shouldn't a field with the following rules:
['nullable', 'filled']
Be able to work if:
Right now if we pass the filled rule, the nullable one doesn't work if we pass null explicitly.
We get the error
The field must have a value.
Beta Was this translation helpful? Give feedback.
All reactions