openfga / language

Grammar for the OpenFGA modeling language
https://openfga.dev
Apache License 2.0
17 stars 7 forks source link

feat(js): create a function to get modules from json #287

Closed Vic-Dev closed 2 months ago

Vic-Dev commented 3 months ago

Description

Created a getModulesFromJSON function that takes a model and returns an alphabetically sorted array of all the modules in the model.

References

closes #284

Review Checklist