Repository navigation
Merge OpenFGA modules and fga.mod like openfga/language develop - #7
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-validation #7 +/- ##
================================================
Coverage 100.00% 100.00%
================================================
Files 10 12 +2
Lines 1301 2062 +761
================================================
+ Hits 1301 2062 +761 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Adds module support matching openfga/language develop. parse_mod_file reads an fga.mod file with every value's source position, merge_modules combines module files into one model and reports conflicts the way the Go transformer does, and the writer can annotate each type and condition with the module and file it came from. The fga.mod cases from openfga/language's conformance data pass, alongside extra cases checked against the Go transformer.
YAML comes from saphyr-parser 0.4.0, the first release that places a block scalar at its indicator as Go's yaml.v3 does.