Xano sets nullable array input with an empty array instead of leaving it null
Options
Alfredo Chelminski
Member ✭
Our table has a column of type object array that is not required and nullable. When we create an input with these configurations and send a json object without that specific input (as it should be non-required), Xano fills the input with an empty array instead of leaving it null.
[image.png][image.png][image.png][image.png]
[image.png][image.png][image.png][image.png]
Comments
-
Same problem occurs when registering a new record in the database table
-
Interesting! What does this mean for you in terms of business logic problems? Did you want to make a distinction between field that is null vs an empty array?
-
good find. This will be fixed this week. Is this fix urgent for you or are you able to work around it until the fix?
-
Hi Sean, we can work around it until the fix 👍
-
yes, for validation of inputs
-
how many free months of premium did we win for the bug bounty? 😜
-
this just got released.
We have a bug bounty program. Send a new request to support and we will credit your account. https://docs.xano.com/troubleshooting/bug-bounty
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback