dgs-framework icon indicating copy to clipboard operation
dgs-framework copied to clipboard

are you planning to expand the configuration?

Open azgarot opened this issue 3 years ago • 2 comments

Encountered a problem when deploying in docker graphql is deployed along the way http://localhost:8080/graphql , and graphiql at home looks at http://localhost:8080/service/myservice/graphql . Specifying dgs.graphql.path does not help, it is simply added to the path. Question is there any plans to add additional management settings, for example, by which graphiql will be viewed?

azgarot avatar Jan 21 '22 07:01 azgarot

What's the exact problem you're having with dgs.graphql.path?

As for the general question the only answer I can give is "Probably, when the needs arrises". If there is anything specific that you might need, let us know.

paulbakker avatar Jan 22 '22 00:01 paulbakker

the problem is that when deploying an application in docker, graphql expands along one path, and graphiql tries to find it in another place.Specifying dgs.graphql.path does not help as described above. In Docker, when deploying graphql, it turns out to take into account the path to the service, and in graphiql this path is not taken into account. Super if it would be possible to set separately <DGS_GRAPHQL_PATH> in graphql-dgs-spring-webmvc-auto configure index.html

azgarot avatar Jan 22 '22 13:01 azgarot