OpenFGA Syntax Transformer should come built in to python.
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 85
- Forks
- 36
- Ø Merge
- 3 Std. 8 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
Checklist
- I agree to the terms within the OpenFGA Code of Conduct.
Describe the problem you'd like to have solved
Seems like an obvious thing to have for the python sdk. I rather not run cli commands within a python environment just to generate the json from the easier to read fga file.
Describe the ideal solution
Export the functionality of converting back and forth from fga to json in https://github.com/openfga/frontend-utils to a pure python function.
Alternatives and current workarounds
No response
References
https://github.com/openfga/frontend-utils
Additional context
No response
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit der Prüfung des referenzierten frontend-utils-Repositorys und des OpenFGA Python SDK, um das bestehende Verhalten von FGA-to-JSON und JSON-to-FGA zu verstehen. Identifiziere den Einstiegspunkt des SDK, an dem ein reiner Python-Transformer angesiedelt werden sollte. Als abgeschlossen gilt die Aufgabe, wenn beide Konvertierungsrichtungen verfügbar sind, ohne CLI-Befehle aufzurufen, und mit der referenzierten Funktionalität übereinstimmen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- authorization
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 30/100