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

[feature request] json field maxLength limit like text maxLength limit #3790

Closed
shynome opened this issue Nov 20, 2023 · 3 comments
Closed

Comments

@shynome
Copy link

shynome commented Nov 20, 2023

No description provided.

@ganigeorgiev
Copy link
Member

Without details what would be the use case for this and how maxLength is expected to work (eg. based on what should be applied - the minified json version or on the raw serialized data?), for now this remains out of the scope for v1.

It is possible the desired functionality to be handled eventually as part of #1154, but for now remains a low priority.

@shynome
Copy link
Author

shynome commented Nov 20, 2023

When allow user change JSONTypeField, user can upload too big json string
I also think JSON schema is better

@ganigeorgiev
Copy link
Member

Just for info in case someone stumble here - a new MaxSize json field option was added in the develop branch to limit the max stored json data in the db (in terms of raw bytes). It will be available with the next v0.20.0 release soon. Option to limit the length of a json string prop and other json validations will be handled eventually in the future as part of #1154.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants