cosmo icon indicating copy to clipboard operation
cosmo copied to clipboard

can we have a type Explorer for Subgraph, just like the Supergraph

Open Nomia opened this issue 7 months ago • 1 comments

Component(s)

studio

Is your feature request related to a problem? Please describe.

There is a nice looking type explorer for supergraph under the schema tab, I wonder if we could also have the same explorer for subgraph, that would be very helpful visualization for the subgraph developer, thx, currently there is only the raw sdl for subgraph

Image

Image

Describe the solution you'd like

Add the type explorer for the subgraph under schema section

Describe alternatives you've considered

No response

Additional context

No response

Nomia avatar Apr 21 '25 11:04 Nomia

WunderGraph commits fully to Open Source and we want to make sure that we can help you as fast as possible. The roadmap is driven by our customers and we have to prioritize issues that are important to them. You can influence the priority by becoming a customer. Please contact us here.

github-actions[bot] avatar Apr 21 '25 11:04 github-actions[bot]

hmmm, this looks like a good feature to add, can i work on this feat? /assign

pro0o avatar May 01 '25 10:05 pro0o

@Nomia can you explain how this would benefit the Subgraph developer? Why is the SDL not sufficient for them?

jensneuse avatar May 02 '25 07:05 jensneuse

@Nomia can you explain how this would benefit the Subgraph developer? Why is the SDL not sufficient for them?

Hi @jensneuse, I think type explorer got a better visualization(birdseye view ish) for subgraph developer to understand this subgraph, means more dev-friendly or pm-friendly, less time to grasp the whole schema. A SDL file can be too long to read sometimes.

or we can integrate GraphQL editor to make the schema visualization even better, so the subgraph developer not only get nice displayed detail of their subgraph, but also the whole picture, all the relationships in the whole supergraph.

Nomia avatar May 07 '25 02:05 Nomia

@Nomia can you explain how this would benefit the Subgraph developer? Why is the SDL not sufficient for them?

Hi @jensneuse, I think type explorer got a better visualization(birdseye view ish) for subgraph developer to understand this subgraph, means more dev-friendly or pm-friendly, less time to grasp the whole schema. A SDL file can be too long to read sometimes.

or we can integrate GraphQL editor to make the schema visualization even better, so the subgraph developer not only get nice displayed detail of their subgraph, but also the whole picture, all the relationships in the whole supergraph.

I see, that makes sense. We're looking to solve this in a different way though, but this is not yet public. So for the time being I'll close this.

jensneuse avatar May 07 '25 07:05 jensneuse