-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 the vertx-graphql extension work in native mode #5253
Make the vertx-graphql extension work in native mode #5253
Conversation
What's the motivation to remove |
...phql/deployment/src/main/java/io/quarkus/vertx/graphql/deployment/VertxGraphqlProcessor.java
Outdated
Show resolved
Hide resolved
It was throwing |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a few comments and questions, let's sort them out.
...phql/deployment/src/main/java/io/quarkus/vertx/graphql/deployment/VertxGraphqlProcessor.java
Outdated
Show resolved
Hide resolved
...phql/deployment/src/main/java/io/quarkus/vertx/graphql/deployment/VertxGraphqlProcessor.java
Outdated
Show resolved
Hide resolved
integration-tests/vertx-graphql/src/test/java/io/quarkus/vertx/graphql/it/VertxGraphqlTest.java
Show resolved
Hide resolved
6c11fd8
to
bfab88e
Compare
It is working in JVM mode but not for native test. I could not dig deep to understand the issue though. |
@machi1990 thanks for the fix, I was looking into a similar fix. Let me know if I can help somehow. |
bfab88e
to
6e64eae
Compare
6e64eae
to
3fd3ce8
Compare
3fd3ce8
to
22cb691
Compare
...phql/deployment/src/main/java/io/quarkus/vertx/graphql/deployment/VertxGraphqlProcessor.java
Outdated
Show resolved
Hide resolved
integration-tests/vertx-graphql/src/test/java/io/quarkus/vertx/graphql/it/VertxGraphqlTest.java
Outdated
Show resolved
Hide resolved
Do we want to have the UI in prod mode? That sounds more like a dev kind of thing. |
Yes, I was targeting the same behaviour in JVM and native mode. Maybe later on we can refine and have a configuration variable |
22cb691
to
428851a
Compare
428851a
to
c171f7c
Compare
I would like having the input from @emmanuelbernard on having the UI in prod. |
integration-tests/vertx-graphql/src/test/java/io/quarkus/vertx/graphql/it/VertxGraphqlTest.java
Outdated
Show resolved
Hide resolved
c171f7c
to
be5159d
Compare
Thanks for this feedback. The UI is not enabled by default, so a user has explicitly enable it. On the other hand, having a flag |
Yes that makes sense. |
Thanks, I'll give it a spin in couple of hours. |
ah no, @gsmet had commented on the PR too. I let him check his concerns. |
Thanks @cescoffier Been a pleasure :-) We fixed quite a few things along the way, once this is merged we can close #5448 |
4f6a522
to
536024a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall. I added a small comment about the config properties. WDYT?
...phql/deployment/src/main/java/io/quarkus/vertx/graphql/deployment/VertxGraphqlProcessor.java
Outdated
Show resolved
Hide resolved
536024a
to
92c1aeb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me except for one last comment.
...phql/deployment/src/main/java/io/quarkus/vertx/graphql/deployment/VertxGraphqlProcessor.java
Show resolved
Hide resolved
91d56d1
to
1f25a1b
Compare
1f25a1b
to
0c80dd8
Compare
Just rebased with master to pick config updates from #5387. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a few minor comments.
...phql/deployment/src/main/java/io/quarkus/vertx/graphql/deployment/VertxGraphqlProcessor.java
Outdated
Show resolved
Hide resolved
...phql/deployment/src/main/java/io/quarkus/vertx/graphql/deployment/VertxGraphqlProcessor.java
Outdated
Show resolved
Hide resolved
...phql/deployment/src/main/java/io/quarkus/vertx/graphql/deployment/VertxGraphqlProcessor.java
Outdated
Show resolved
Hide resolved
0c80dd8
to
6451715
Compare
…and resources inclusion
6451715
to
3db09bd
Compare
I just pushed a rebase to be extra sure :). Let's wait for CI. |
Thanks, I was about to do that. the CI failure was related to a compilation failure which was fixed in master :-) |
All green :-) Merging, thanks all. |
fixes #5248
/cc @rsvoboda can you check if this fix the issue for you? Thanks
@gsmet @cescoffier @cristianonicolai