repeatable numbers #216
Unanswered
massimopalmieri
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi,
I'm trying to parse a
URLSearchParams
and I have a fieldexample_ids
that can be an array of numbers, but I need it to be optional, so that if the URL is?example_ids=
the parsed data isexample_ids: []
(or evenexample_ids: null
orundefined
would be fine). What I'm getting instead isexample_ids: [null]
. Is this the expected behaviour? If yes, how can I achieve what I need? My schema looks like this:Beta Was this translation helpful? Give feedback.
All reactions