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

fix(declarative) schema validation in db-less mode #5464

Merged
merged 1 commit into from
Jan 20, 2020
Merged

Conversation

bungle
Copy link
Member

@bungle bungle commented Jan 17, 2020

Summary

This was reported with #5401. When I added DAO transformations, for some reason I ended up writing stupid code that just broke the whole schema validation on declarative. This commit is an
attempt to fix that. Sorry for all the pain caused.

While fixing this, I also found out that original validation didn't work correctly when you had entity validations that relied on values of foreign keys. This is now also corrected.

Issues Resolved

Fix #5401

@hishamhm hishamhm added this to the 2.0.0 milestone Jan 20, 2020
@bungle bungle changed the base branch from next to master January 20, 2020 14:58
### Summary

This was reported with #5401. When I added DAO transformations,
for some reason I ended up writing stupid code that just broke
the whole schema validation on declarative. This commit is an
attempt to fix that. Sorry for all the pain caused.

While fixing this, I also found out that original validation
didn't work correctly when you had entity validations that relied
on values of foreign keys. This is now also corrected.

### Issues Resolved

Fix #5401
@bungle bungle marked this pull request as ready for review January 20, 2020 15:02
@bungle bungle modified the milestones: 2.0.0, 1.5.0 Jan 20, 2020
@bungle
Copy link
Member Author

bungle commented Jan 20, 2020

@hishamhm, just a reminder: we want this to both 1.5.0 AND 2.0.0

@hishamhm hishamhm merged commit 09105c1 into master Jan 20, 2020
@hishamhm hishamhm deleted the fix/5401 branch January 20, 2020 17:17
@hutchic hutchic modified the milestones: 2.0.0, 2.0.1 Feb 4, 2020
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.

Schema validation in db-less mode Kong 1.4
3 participants