is there a way to change graphiql
UI in lacinia
?
You mean how it looks? You could changes the assets or overwrite graphiql-ide-response
in com.walmartlabs.lacinia.pedestal I guess
yes, I would like to add a input option to the user send me headers variables through that interface
I would like to have a GraphiQL like this one: https://github.com/OlegIlyenko/graphiql-workspace
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.
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
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.
@hlship that makes a lot of sense. Thanks