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

Add operationContextParams to RulesetParameterValidator #2295

Merged
merged 3 commits into from
Jun 3, 2024

Conversation

alextwoods
Copy link
Contributor

Background

#2266 added support for the new operationContextParams trait, but missed adding support for it to the RulesetParameterValidator. Rulesets that bound a parameter to the service model only through an operationContextParameter would trigger validation errors that Parameter "exists in ruleset but not in service model". In addition, type checking for inconsistent parameters and type mismatches between operationContextParams and the bound endpoint parameter were not being done.

Testing

*New and existing tests

Links


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

@alextwoods alextwoods requested a review from a team as a code owner May 22, 2024 15:40
@kstich kstich merged commit 3c6322b into smithy-lang:main Jun 3, 2024
13 checks passed
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.

None yet

3 participants