graphql

bartuka 2019-05-19T12:35:45.005100Z

is there a way to change graphiql UI in lacinia?

gklijs 2019-05-19T13:49:29.005200Z

You mean how it looks? You could changes the assets or overwrite graphiql-ide-response in com.walmartlabs.lacinia.pedestal I guess

bartuka 2019-05-19T20:35:12.005400Z

yes, I would like to add a input option to the user send me headers variables through that interface

bartuka 2019-05-19T20:40:18.005600Z

I would like to have a GraphiQL like this one: https://github.com/OlegIlyenko/graphiql-workspace

gklijs 2019-05-19T22:26:20.005900Z

Seems like if you replace the html at the bottom of your link with the html lacinia-pedestal uses (graphiql.html once copied from facebook?) should get you going.

bartuka 2019-05-19T22:32:12.006100Z

sorry but, where can I find the graphiql.html from lacinia-pedestal? I saw they use it by reading the service-map function code, but I could not find how to change it. the /assets/graphiql folder is not obvious for me where it is

hlship 2019-05-19T22:56:38.011300Z

Packaging GraphIQL in lacinia-pedestal is a convenience. If you want to use an alternative or customization, go for it. All any such client needs is the right URI to run introspection queries. Attempting to make it more customizable would just make lacinia-pedestal, as s whole, harder to configure. Just turn it off and provide your own routes to you static assets.

bartuka 2019-05-19T23:08:30.011500Z

@hlship that makes a lot of sense. Thanks