Repository navigation
Validate OpenFGA models like openfga/language develop - #6
LucaCappelletti94 wants to merge 1 commit into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## d2-dsl-writer #6 +/- ##
================================================
Coverage 100.00% 100.00%
================================================
Files 5 10 +5
Lines 448 1301 +853
================================================
+ Hits 448 1301 +853 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
openfga-language can now validate a model, from JSON with validate or from DSL with validate_dsl, which also reports line and column. It follows the Go validator on the openfga/language develop branch, and the conformance submodule moves to develop for that. Every unskipped case in dsl-semantic-validation-cases.yaml and json-validation-cases.yaml passes with the exact message, position and metadata, in the same order, and the extra tests take their expected output from the Go validator.