Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Add @conditionalOnBean to GraphQLSpringWebfluxAutoConfiguration #396

Closed
endj opened this issue Apr 17, 2020 · 0 comments
Closed

Add @conditionalOnBean to GraphQLSpringWebfluxAutoConfiguration #396

endj opened this issue Apr 17, 2020 · 0 comments
Milestone

Comments

@endj
Copy link

endj commented Apr 17, 2020

Unless there is a good reason not to, could

@ConditionalOnBean({GraphQLSchema.class})

be added to the GraphQLSpringWebFluxAutoConfiguration. Currently, things will break if you have the library on the classpath but only instantiating the bean conditionally. It would be a lot nice if you did not have to use exclude the autoconfiguration class.

@oliemansm oliemansm added this to the 7.1.0 milestone Apr 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants