-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat: Apply Resource Validator on SAM GraphQL Resources #2985
feat: Apply Resource Validator on SAM GraphQL Resources #2985
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are going to be very useful!! Thanks for taking it on.
Left small comments, but looks good overall. I'm creating our DataSource
changes now so this will be very helpful in translating that over using models.
samtranslator/internal/schema_source/aws_serverless_graphqlapi.py
Outdated
Show resolved
Hide resolved
8385b44
to
58be7ab
Compare
58be7ab
to
73d48fc
Compare
The error messages are kinda hard to review. Can we integrate with this change so it's easier to review? |
Going to do that in a separate PR. This branch |
Issue #, if available
Description of changes
Use resource validator as a runtime check on nested properties. No need to use
sam_expect
anymore.Description of how you validated changes
All tests passed
Checklist
Examples?
Please reach out in the comments if you want to add an example. Examples will be
added to
sam init
through aws/aws-sam-cli-app-templates.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.