Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve nullable JSON fields in Piccolo Admin #330

Merged
merged 1 commit into from
Aug 7, 2023
Merged

Conversation

dantownsend
Copy link
Member

If you have a nullable JSON / JSONB column in Piccolo Admin, when you try saving it you would get a validation error.

For now, I'm assuming that if a JSON column is nullable, and the value is empty, then treat it as NULL instead of an empty string, as that's probably the intention.

@dantownsend dantownsend added the enhancement New feature or request label Aug 7, 2023
@dantownsend dantownsend merged commit 69c14a0 into master Aug 7, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant