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 model attributes validation #231

Merged
merged 2 commits into from
Sep 5, 2018

Conversation

stanislas-m
Copy link
Member

@stanislas-m stanislas-m commented Aug 30, 2018

  • Extract duplicates validation from Model cmd
  • Validate the attribute name is a valid Go name

Related to gobuffalo/buffalo#870

@stanislas-m stanislas-m requested a review from a team as a code owner August 30, 2018 09:57
@stanislas-m stanislas-m force-pushed the task/refactor-new-attribute-validation branch 3 times, most recently from 15a609c to 3c5c42a Compare September 3, 2018 11:53
* Extract duplicates validation from Model cmd
* Validate the attribute name is a valid Go name
@stanislas-m stanislas-m force-pushed the task/refactor-new-attribute-validation branch from 3c5c42a to 268a9e2 Compare September 4, 2018 19:36
@stanislas-m stanislas-m merged commit 0db57e2 into development Sep 5, 2018
@stanislas-m stanislas-m deleted the task/refactor-new-attribute-validation branch September 5, 2018 06:16
@stanislas-m stanislas-m added this to the v4.8.0 milestone Sep 5, 2018
mclark4386 pushed a commit that referenced this pull request Sep 28, 2018
* Improve model attributes validation

* Extract duplicates validation from Model cmd
* Validate the attribute name is a valid Go name

* Fix test issues
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

2 participants