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

Increase VARCHAR limits and impose String length validation #68

Open
2 tasks
rymaju opened this issue Mar 23, 2021 · 0 comments
Open
2 tasks

Increase VARCHAR limits and impose String length validation #68

rymaju opened this issue Mar 23, 2021 · 0 comments

Comments

@rymaju
Copy link
Member

rymaju commented Mar 23, 2021

Most of our SQL errors are errors with VARCHAR string lengths in our SQL schemas not being validated in our DTOs, we should add those string length checks on the DTO level for more informative error messages or not set a VARCHAR limit at all.

(This is a duplicate of the LLB ticket)

  • Increase arbitrarily low VARCHAR limits to 255
  • Validate all strings to match the limits we impose in the schema
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

1 participant