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 oneof schema #72

Closed
wants to merge 4 commits into from

Conversation

vladtsir
Copy link
Contributor

Issue #, if available:
#70

Description of changes:

Looking at how ResourceTypeSchema is used, I'm rather convinced that it should not subclass from ObjectSchema (or Schema) at all. Its primary use is to provide strongly-typed access to schema elements; this can be done if the schema is contained within. Currently nothing uses ResourceTypeSchema to validate actual CFN templates, but if necessary, this can be easily done by forwarding "validate" call to the schema member

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tobywf
Copy link
Contributor

tobywf commented Dec 16, 2019

shares history with #69 . merge that first, and then rebase this or open a new PR. closing so nobody reviews and you are free to rewrite the git history of the PR.

@tobywf tobywf closed this Dec 16, 2019
@tobywf tobywf mentioned this pull request Dec 16, 2019
@vladtsir vladtsir deleted the fix-oneof-schema branch February 1, 2020 19:54
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.

2 participants