You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having schemas to define things like the input document is a great way to prevent typos and mistakes that would otherwise only be caught at runtime. The opa check command allows providing a --schema directory, but there's no corresponding option for Regal.
Screenshot pictures a type error from typing an invalid input reference. This is caught by the "check on save" feature, but not by Regal so the error isn't inlined.
We should allow pointing out a schema directory via .regal/config.yaml and provide that to the parse if found.
The text was updated successfully, but these errors were encountered:
This could also be used for code completions when provided, so that typing inp (or input., whatever) would bring up suggestions based on the possible attributes from the schema.
Having schemas to define things like the
input
document is a great way to prevent typos and mistakes that would otherwise only be caught at runtime. Theopa check
command allows providing a--schema
directory, but there's no corresponding option for Regal.Screenshot pictures a type error from typing an invalid
input
reference. This is caught by the "check on save" feature, but not by Regal so the error isn't inlined.We should allow pointing out a schema directory via
.regal/config.yaml
and provide that to the parse if found.The text was updated successfully, but these errors were encountered: