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

Validation does not consider the current template's fields #7

Open
kamsar opened this issue Nov 10, 2017 · 0 comments
Open

Validation does not consider the current template's fields #7

kamsar opened this issue Nov 10, 2017 · 0 comments
Assignees
Labels

Comments

@kamsar
Copy link
Collaborator

kamsar commented Nov 10, 2017

See https://github.com/blipson89/Leprechaun/blob/master/src/Leprechaun/Validation/StandardArchitectureValidator.cs#L100

The unique field validation considers all base templates' fields, but not the current template's fields being processed. The current template should be concatenated into the template list for validation.

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

No branches or pull requests

2 participants