-
Notifications
You must be signed in to change notification settings - Fork 41
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
Exposing Validation Metadata #27
Comments
for visibility bkbnio/kompendium#61 |
Nice project 👍🏻 Depending on what you would like to achieve exactly, just exposing the In addition, while the built-in constraints are modelled after JSONSchema, the constraints used in practice can often not be described in terms of JSONSchema. Maybe an alternative to look into for your project could be an integration with an actual JSONSchema validator. |
Tyty it's been a fun build :)
ahhhh I see, that makes sense... I'll need to think more on this then. gonna close this 👍 |
Hey, I am working on an OpenAPI spec generator for Ktor https://github.com/bkbnio/kompendium and would love to build in Konform validation, but I am running into a problem. A method for generating validation metadata is eluding me.
Because all implementations of
Validation
are internal, and afaik the actual constraints don't get exposed to the end user, it feels like I am in a bit of a bind as far as pulling that info goes.So I have a couple questions
The text was updated successfully, but these errors were encountered: