We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
reflect is used to introspect inner values, such as Tuple::components or Union::alternatives, however underlying is not public for Constraint.
reflect
underlying
Constraint
For reference, I have to cast to access underlying: https://github.com/cdaringe/runtypes-to-jsonschema/blob/f14e0f27407b32468467531e9d98da885d663fbf/index.ts#L66
i'm authoring runtypes-to-jsonschema, and hit a roadblock with the Constraint type
The text was updated successfully, but these errors were encountered:
No branches or pull requests
problem
reflect
is used to introspect inner values, such as Tuple::components or Union::alternatives, howeverunderlying
is not public forConstraint
.For reference, I have to cast to access
underlying
: https://github.com/cdaringe/runtypes-to-jsonschema/blob/f14e0f27407b32468467531e9d98da885d663fbf/index.ts#L66motivation
i'm authoring runtypes-to-jsonschema, and hit a roadblock with the
Constraint
typeThe text was updated successfully, but these errors were encountered: