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

CustomField type for text #885

Closed
zagnut007 opened this issue May 18, 2021 · 0 comments
Closed

CustomField type for text #885

zagnut007 opened this issue May 18, 2021 · 0 comments

Comments

@zagnut007
Copy link

Is your feature request related to a problem? Please describe.
I'm trying to associate JSON objects with products and order lines in my shopping cart. Because these JSON objects are manipulated by the customer, they can grow in size and exceed the 64k limit on 'string' types in most databases.

Describe the solution you'd like
A new custom field type 'text' that would be able to handle a much larger size of text input. The default Admin UI handler/input type would be "textarea". In MySQL, the type would be 'longtext'. In Postgres/SQLite, the type would be 'text'.

Describe alternatives you've considered
I've been playing with the Asset server to handle the JSON objects, but the Admin UI is really expecting specific types of binary files and is causing issues when I'm trying to upload/manage JSON files associated with product variants. Also, uploading the JSON objects as binary files adds additional layers of complications in the GraphQL queries.

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

No branches or pull requests

2 participants