mercurius-js / mercurius

Implement GraphQL servers and gateways with Fastify
https://mercurius.dev/
MIT License
2.34k stars 234 forks source link

Support for dynamic prefix in graphiql #927

Open jinhong- opened 1 year ago

jinhong- commented 1 year ago

Would be nice to have support for dynamic prefixes. For example, if I were to put ":tenantId" in prefix, what happens is that the URL is hard coded to :tenantId rather than getting replaced with the actual parameters from the URL

mcollina commented 1 year ago

I don't understand, could you make a concrete example?

simoneb commented 1 year ago

@jinhong- can you provide some more details please?