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 dynamic surjection support #84

Merged
merged 2 commits into from
Aug 16, 2022
Merged

Add dynamic surjection support #84

merged 2 commits into from
Aug 16, 2022

Conversation

kubukoz
Copy link
Owner

@kubukoz kubukoz commented Aug 16, 2022

Backported from #62.

This enables all validations currently supported by Smithy4s - they'll be used while checking queries for correctness.

Support for custom validations / refinements (coming in the next major Smithy4s release) will most likely be provided in the future using plugin infrastructure.

Here's what it looks like for a string with @length(min: 1):

image

@kubukoz kubukoz merged commit bc35c0b into main Aug 16, 2022
@kubukoz kubukoz deleted the surjections branch August 16, 2022 13:34
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

1 participant