Skip to content
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

🐛 Fix comparison of store and local schema #211

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

3thr3n
Copy link

@3thr3n 3thr3n commented Feb 15, 2025

Desciption

Fixes an issue, when you run multiple instances of quarkus with the same openfga authorization schema.

Current behavior

Openfga failes with a ConfigurationException "Could not find authorization model in shared DevServices instance"
Comparison of ObjectRelation failing, because it compares null with empty String.

Expected behavior

Openfga starts up and finds the authorization schema, which is already present.
Comparison works fine for ObjectRelation, either compare null with null or empty String with empty String

@3thr3n 3thr3n requested a review from a team as a code owner February 15, 2025 20:25
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.

1 participant