Comments (10)
merapar/graphql-spring-boot-starter#23
from graphql-spring-boot.
closing: these are two different projects at the moment.
from graphql-spring-boot.
For people visiting this issue later: I would love to combine the two projects and have a single GraphQL-Java spring-boot starter, but afaict the other project is a pretty self-contained spring-boot-starter/servlet/graphql-java-helper and it can't really support other projects. @merapar if you have any ideas about how to integrate the two projects I'd be interested.
from graphql-spring-boot.
I think that would be the best
Together you could become a official spring boot application.
And in my opinion, it was easier to make a new project as a newbie with the project from @merapar, than from this one.
The examples were way easier to understand and implement than here. :)
from graphql-spring-boot.
It's hard to merge the two projects. I assume a replacement of the existing "GraphQL java spring boot" will not be appreciated :-) Than the only way forward is to brainstorm about a third project and pick the best out of the two.
@apottere Don't really get your comment about "it can't really support other projects".
from graphql-spring-boot.
@janfockaert By "can't really support other projects", I meant that right now you can't supply your own graphql schema and have the spring-boot starter expose it for you. The only way to get a graphql endpoint is by using GraphQlFields
, so there isn't a good way to add support for other schema builder libraries right now (or even just manually creating a GraphQLSchema).
from graphql-spring-boot.
In comparison, this project doesn't prescribe a certain way of creating the schema, which makes it more versatile but less intuitive. You can use a supported schema library, but you can also just toss a GraphQLSchema
you create at it and it'll work just fine.
from graphql-spring-boot.
@janfockaert I realized it wouldn't be too hard to integrate your schema generation classes into this starter, so I made a quick PoC:
test fields (from readme):
https://github.com/graphql-java/graphql-spring-boot/blob/integrage-merapar-autoconfig/graphql-spring-boot-autoconfigure/src/test/java/com/oembedler/moon/graphql/boot/test/meraparStarter/HelloWorldFields.java
I'm not sure if this is something you'd consider, but it seems to do everything the same way (including properties).
from graphql-spring-boot.
Than the project will have a dependency on "Merapar" starter project, which will confuse people. The starter project should be a simple and transparent.
In next release, the schema file configuration will be supported #22 and latest v4.0.0 release of graphql-java.
from graphql-spring-boot.
Yeah, that was just for the proof-of-concept. The classes like GraphQlFields
that actually help build the schema could be separated into a different library from the spring-boot starter classes, and it would make that inclusion less confusing.
from graphql-spring-boot.
Related Issues (20)
- Customize SimpleDataFetcherExceptionHandler to avoid logException for certain errors HOT 1
- Spring Boot Graphql Remove duplicates from the Response
- SpringDoc bean name conflict error HOT 1
- Latest 15.0.0 version is not compatible with Spring boot 3.0.2 and spring security 6.0.1 HOT 3
- Possibility to add authorization headers to the GraphQLTestSubscription HOT 14
- How to set the bearer token dynamically in graphql-spring-boot playground
- different data response for nullable and non-nullable responses
- @connection not working after Spring Boot and graphql upgrade HOT 1
- CVE-2023-28867 affects all recent versions (including v15)
- `ErrorHandlerSupplier` not always initialized when we first need it
- Query returning the result of previously timed out query
- Support check origin for websocket to secure against cross-site attacks
- Support CSRF on websockets to secure against cross-site attacks
- When upgrading to Spring Boot 3.1.0 we get in the response the tracing information under extensions HOT 2
- MetricsInstrumentation does not implement updated API of TracingInstrumentation provided by graphql-java
- Maven seems to confuse graphql-java version HOT 4
- Request scoped beans aren't accessible in mutation and query resolvers
- Virtual threads support
- Cannot disable tracing response with graphql-spring-boot-starter version 15 HOT 4
- No qualifying bean of type 'com.graphql.spring.boot.test.GraphQLTestTemplate' available : graphql-spring-boot-starter-test:jar:15.0.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-spring-boot.