webflux-start not startin /graphql context #850
Unanswered
andre-c-alves
asked this question in
Q&A
Replies: 3 comments 3 replies
-
|
Do you also have the following dependencies?
```
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("io.projectreactor:reactor-core")
```
I realized we are also missing documentation for using webflux, so will add
that: Netflix/dgs#78
…On Sun, Jan 30, 2022 at 6:23 AM Andre Alves ***@***.***> wrote:
Hi,
Trying using webflux (getting data through webclient http), but when
switch to graphql-dgs-webflux-starter insted
graphql-dgs-spring-boot-starter the context of graphql doesnt start.
what am i doing wrong?
—
Reply to this email directly, view it on GitHub
<#850>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ5JPXPFNSTISV5H4X5WXFDUYVCU7ANCNFSM5NEJ4LBQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
|
For reference, you can also try the example webflux app that is part of the
dgs-framework repo:
https://github.com/Netflix/dgs-framework/tree/master/graphql-dgs-example-java-webflux
.
This should be all that is needed for webflux:
```
dependencies {
...
implementation(project(":graphql-dgs-webflux-starter"))
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("io.projectreactor:reactor-core")
}
…On Mon, Jan 31, 2022 at 9:02 AM Andre Alves ***@***.***> wrote:
Have this dependecies on my project:
spring-boot-starter
spring-boot-starter-web
spring-boot-starter-webflux
graphql-dgs
graphql-dgs-webflux-starter
reactor-core
But no /graphql context:
2022-01-31 14:01:35.559 INFO 3820 --- [ main] demo.Application : Starting
Application using Java 11.0.13 on NB78500 with PID 3820
(C:\dev\poc\graphql-reactor\target\classes started by XXX in
C:\dev\poc\graphql-reactor)
2022-01-31 14:01:35.565 INFO 3820 --- [ main] demo.Application : No active
profile set, falling back to default profiles: default
2022-01-31 14:01:36.711 INFO 3820 --- [ main]
o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s):
8080 (http)
2022-01-31 14:01:36.721 INFO 3820 --- [ main]
o.apache.catalina.core.StandardService : Starting service [Tomcat]
2022-01-31 14:01:36.721 INFO 3820 --- [ main]
org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache
Tomcat/9.0.56]
2022-01-31 14:01:36.897 INFO 3820 --- [ main]
o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded
WebApplicationContext
2022-01-31 14:01:36.898 INFO 3820 --- [ main]
w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext:
initialization completed in 1284 ms
2022-01-31 14:01:37.838 INFO 3820 --- [ main]
o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080
(http) with context path ''
2022-01-31 14:01:37.853 INFO 3820 --- [ main] demo.Application : Started
Application in 2.657 seconds (JVM running for 3.914)
—
Reply to this email directly, view it on GitHub
<#850 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ5JPXNXPPCFAHNOHDOEPLLUY26CLANCNFSM5NEJ4LBQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
-
|
I am also facing this issue. For me graphql / graphqil endpoints are not working |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Trying using webflux (getting data through webclient http), but when switch to graphql-dgs-webflux-starter insted graphql-dgs-spring-boot-starter the context of graphql doesnt start.
what am i doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions