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

Make typesafe GraphQL clients ApplicationScoped #27282

Merged
merged 1 commit into from Aug 16, 2022

Conversation

jmartisk
Copy link
Contributor

The plan for later is to make the scope configurable (for typesafe as well as dynamic clients), but for now at least let's make it ApplicationScoped, because Singleton scope prevents mocking. This allows the clients to be mocked, but shouldn't significantly change any runtime behavior.

@jmartisk jmartisk merged commit 03d1bc4 into quarkusio:main Aug 16, 2022
@jmartisk jmartisk deleted the typesafe-client-appscoped branch August 16, 2022 06:16
@quarkus-bot quarkus-bot bot added this to the 2.12 - main milestone Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants