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

AuthorizationModelsClient is not injectable #175

Open
ChMThiel opened this issue Nov 5, 2024 · 0 comments
Open

AuthorizationModelsClient is not injectable #175

ChMThiel opened this issue Nov 5, 2024 · 0 comments

Comments

@ChMThiel
Copy link

ChMThiel commented Nov 5, 2024

if one tries to inject AuthorizationModelsClient, following error occurs oin startup:

Caused by: jakarta.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type io.quarkiverse.openfga.client.AuthorizationModelsClient and qualifiers [@Default]
	- injection target: io.gec.smom.permission.control.FGAUtility#authorizationModelsClient
	- declared on CLASS bean [types=[io.gec.smom.permission.control.FGAUtility, java.lang.Object], qualifiers=[@Default, @Any], target=io.gec.smom.permission.control.FGAUtility]
	at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:545)
	at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:667)
	at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:323)

As far as i can see the problem is that in OpenFGARecorder a RuntimeValue-provider-method for AuthorizationModelsClient is missing...

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

No branches or pull requests

1 participant