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

graphiql-spring-boot-starter version is still 11.1.0 not 14.0.0? #879

Closed
aihua5 opened this issue Sep 27, 2022 · 4 comments
Closed

graphiql-spring-boot-starter version is still 11.1.0 not 14.0.0? #879

aihua5 opened this issue Sep 27, 2022 · 4 comments

Comments

@aihua5
Copy link

aihua5 commented Sep 27, 2022

graphql-spring-boot-starter has been upgrade to latest 14.0.0, why is the graphiql 11.10?
Do you have any plan to upgrade the graphiql?

@oliemansm
Copy link
Member

Starters have been reorganized in v12.0.0, see: #617

@aihua5
Copy link
Author

aihua5 commented Sep 27, 2022

Thank your quick reply. Now I changed grapiql to graphql like below:
graphql:
graphiql:
enabled: true
headers:
test: test

But some starting error is popped up:

Description:

The bean 'graphiQLController', defined in class path resource [graphql/kickstart/graphiql/boot/GraphiQLAutoConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [graphql/kickstart/autoconfigure/editor/graphiql/GraphiQLAutoConfiguration.class] and overriding is disabled.

Action:

Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true

Could you give some comments?

@oliemansm
Copy link
Member

Sounds like you didn't remove the old graphiql starter from your dependencies.

@aihua5
Copy link
Author

aihua5 commented Sep 27, 2022

Thank you. I have resolved the issue after deleting the old graphiql starter. It is amazing. :)

@aihua5 aihua5 closed this as completed Sep 27, 2022
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