Fork me on GitHub
#graphql
<
2019-05-19
>
bartuka12:05:45

is there a way to change graphiql UI in lacinia?

gklijs13:05:29

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

bartuka20:05:12

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

bartuka20:05:18

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

gklijs22:05:20

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.

bartuka22:05:12

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

hlship22:05:38

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.

bartuka23:05:30

@U04VDKC4G that makes a lot of sense. Thanks

hlship00:05:01

Need a tag for "all typos due to trying to reply via iphone"