Open KyleAMathews opened 5 years ago
Are they using https://github.com/prisma/graphql-playground?
If so, it should be able to slot in nicely, since they're already using GraphiQL components. We'll need to support custom styles or somehow inherit the styles they're using.
Tagging @schickling โย are the styles for Playground easy to extend? Weโd love to have both Playground + this explorer in Gatsby!
Yes they are. @huvik can help out here. Excited to see the Playground be part of OneGraph ๐
@KyleAMathews @jlengstorf I already contacted @freiksenet to talk about that as well :P
I'm about to add a proposal to graphql-playground that adds the explorer. As soon as we get that merged, it should be easy to add it to Gatsby I guess.
Yikes, yeah meant Prisma not Apollo ๐
graphql-playground quickly gaining a lots of popularity so having explorer integrated is really good idea. I guess first integration do not need to look perfect as community can style that later. It's more about capabilities really.
This looks really nice ๐, I think it would nicely fit next to documentation and schema drawer on the right side of the playground.
Regarding styling, there should be better documentation. I will try to improve it in the coming weeks so its easier to grasp.
What about Explorer plugin for Altair?
See this feature request in Altair repo: https://github.com/imolorhe/altair/issues/534.
Can this be used with Prisma's version of graphiql? Gatsby is thinking about switching over to it for the tabs.