OneGraph / graphiql-explorer

Explorer plugin for GraphiQL
MIT License
904 stars 97 forks source link

Use with Prisma's's Playground? #3

Open KyleAMathews opened 5 years ago

KyleAMathews commented 5 years ago

Can this be used with Prisma's version of graphiql? Gatsby is thinking about switching over to it for the tabs.

dwwoelfel commented 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.

jlengstorf commented 5 years ago

Tagging @schickling โ€”ย are the styles for Playground easy to extend? Weโ€™d love to have both Playground + this explorer in Gatsby!

schickling commented 5 years ago

Yes they are. @huvik can help out here. Excited to see the Playground be part of OneGraph ๐Ÿš€

robinweser commented 5 years ago

@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.

KyleAMathews commented 5 years ago

Yikes, yeah meant Prisma not Apollo ๐Ÿ˜…

wtrocki commented 5 years ago

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.

huv1k commented 5 years ago

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.

FluorescentHallucinogen commented 5 years ago

What about Explorer plugin for Altair?

See this feature request in Altair repo: https://github.com/imolorhe/altair/issues/534.