-
Notifications
You must be signed in to change notification settings - Fork 312
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
Add graphql-java-extended-scalars dependency management #242
Comments
I am against this to be honest This library should really support the standardand not anything else . (And maybe the Support for more scalars has stalled a long time ago (and for good reason!): Also
The library could be deprecated at any time.
If you REALLY need these specific scalars, you can just include the library yourself in my honest opinion. What I am especially scared of is situations like these in Spring, if Spring GraphQL does become the "standard": |
Honestly, for me the
I'm not saying What do you think @andimarek ? |
There's a policy at the Spring Boot level that states that we won't manage a dependency unless we have a specific support for it. The rationale is: if we don't test for incompatibilities with our own code, we can't manage a dependency as we wouldn't be providing any guarantee to the developers. Given how the registration is done for those scalars, I can't think of anything a this time to support in Spring Boot. Those scalars seem indeed useful in their own right - are there really compatibility issues between both artifacts? If so, why aren't |
|
DataLoader is already implicitly included via a GraphQL Java https://search.maven.org/artifact/com.graphql-java/graphql-java/17.3/jar <dependency>
<groupId>com.graphql-java</groupId>
<artifactId>java-dataloader</artifactId>
<version>3.1.0</version>
<scope>compile</scope>
</dependency> |
@jord1e It's not a matter of transitive dependency; if a project publishes several artifacts and has compatibility concerns, it can publish a BOM that developers can use for dependency management. A consumer project could depend on Spring Framework (and many other projects) publish BOMs to help developers in that regard, even if artifacts depend on each other. See https://search.maven.org/artifact/org.springframework/spring-framework-bom/5.3.14/pom |
I'm going to close this issue as the auto-configuration support has since moved to Spring Boot. Also, we don't intend to manage this dependency right now. |
It would be nice to add graphql-java-extended-scalars to a project without the need to mention the version:
Rationale is that the extended scalars project is tight to the GraphQL version being used (or at least it is up to now) so it can get out of sync.
E.g. adding:
And
spring-graphql
might one day upgrade to GraphQL version 18.The text was updated successfully, but these errors were encountered: