-
Notifications
You must be signed in to change notification settings - Fork 329
Closed as not planned
Closed as not planned
Copy link
Labels
status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid
Description
Does spring graphql support this feature?
https://docs.spring.io/spring-framework/reference/web/webmvc-functional.html
https://docs.spring.io/spring-framework/reference/web/webflux-functional.html
google AI gave me this example (so if it doesn't work...)
@Configuration
public class RouterConfig {
@Bean
public RouterFunction<ServerResponse> userRoutes() {
return route(GET("/hello"),
request -> ServerResponse.ok().body("Hello, Lambda!"))
.and(route(GET("/greet/{name}"),
request -> {
String name = request.pathVariable("name");
return ServerResponse.ok().body("Greetings, " + name + "!");
})
);
}
}
and my thought is it might be a reasonably good solution to #1144
Metadata
Metadata
Assignees
Labels
status: invalidAn issue that we don't feel is validAn issue that we don't feel is valid