Skip to content

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

New issue

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

Merged

Conversation

Vic-Dev
Copy link
Contributor

@Vic-Dev Vic-Dev commented Jul 4, 2024

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

  • I have clicked on "allow edits by maintainers".
  • I have added documentation for new/changed functionality in this PR or in a PR to openfga.dev [Provide a link to any relevant PRs in the references section above]
  • The correct base branch is being used, if not main
  • I have added tests to validate that the change in functionality is working as expected

@Vic-Dev Vic-Dev requested review from a team as code owners July 4, 2024 17:08
@rhamzeh rhamzeh added this pull request to the merge queue Jul 16, 2024
Merged via the queue into main with commit 8e47a63 Jul 16, 2024
18 checks passed
@rhamzeh rhamzeh deleted the feat/284-add-a-function-that-returns-modules-in-a-model-js branch July 16, 2024 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[JS] Add a function that returns the modules in a model
2 participants