Allow saving of arrays and primitives in JSON column #13542
Labels
avalanche
OSS team
bb-components
enhancement
New feature or request
forms
frontend
validation
Relating to validation/verification/constraints
Checklist
Describe the bug
When trying to save a string in a JSON field, the API rejects it instead of saving the string as JSON. If the input to a JSON field is a string, the API shouldn't try to parse it and instead just save it as a string. Database JSON fields accept strings as inputs and is a typical use case to store data from arbitrary types.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The string should be saved as-is
The text was updated successfully, but these errors were encountered: