Hi, is there a way to create a `ServerRequest` man...
# graphql-kotlin
d
Hi, is there a way to create a
ServerRequest
manually that I can pass into SpringGraphQLServer.execute()? I'm trying to essentially "warm up" my GraphQL microservice by autowiring
SpringGraphQLServer
and manually executing queries within the application itself. Is this possible to do?
d
if you are using some containerized deployments (e.g. k8s) take a look at https://github.com/ExpediaGroup/mittens
d
Thanks for the response @Dariusz Kuc! Turns out I don’t really need a
ServerRequest
for my use case. It seems a lot easier to create `ExecutionInput`s and then just do
GraphQL.execute()
directly
190 Views