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

Schema validation rules structure loader bug fix #127

Merged
merged 1 commit into from
May 31, 2018
Merged

Schema validation rules structure loader bug fix #127

merged 1 commit into from
May 31, 2018

Conversation

OrH
Copy link
Contributor

@OrH OrH commented May 31, 2018

When using json schema validation for commands with the default structure loader and multiple aggregates, if one of the aggregate names is actually a part of another aggregate name - for example "item" and "itemGroup", the foundAggr would return true on "item" for both of them which results in missing validations.

The fix is the same as other checks in the structureLoader.js file.

@adrai adrai merged commit 293eb80 into thenativeweb:master May 31, 2018
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.

3 participants