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

WIP - Use length restricted string definitions #108

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

johannes-pt
Copy link
Contributor

@johannes-pt johannes-pt commented Sep 27, 2019

Semantic versioning

This PR is a Minor (non-breaking change, adds functionality or feature)

Generall things to consider

  • I have read the CONTRIBUTING.md document.
  • If my change requires documentation, I added it already.
  • I have added tests to cover all my changes.
  • All new and existing tests pass.

Notable changes

Strings usually have limits on APIs, databases, display or other.
This change is taking these practical limits into consideration by limiting them to a reasonable length.

Added

2 new simple types for short strings (up to 255 characters) and long strings (up to 10000 characters)

Changed

Replaced all string type usages to either shortString or longString.

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

Successfully merging this pull request may close these issues.

None yet

1 participant