graphql-voyager icon indicating copy to clipboard operation
graphql-voyager copied to clipboard

Feature: show input types

Open ecerroni opened this issue 8 years ago • 6 comments

This tool is awesome! Are you planning to parse input types as well?

ecerroni avatar Sep 19 '17 11:09 ecerroni

@ecerroni Thank you for feedback 👍 What kind of visualization you have in mind? Do you want input types to be represented on the graph or only on documentation panel?

IvanGoncharov avatar Sep 19 '17 14:09 IvanGoncharov

Mhm, good question. I guess having them on both the graph and the documentation panel would be great.

However it depends on you as a maintainer. This is obviously not critical and I consider it as at the same level of the feature request about having a switching button for Query vs Mutation.

Voyager is already terrific! Thus you know best what to prioritize on the roadmap :)

ecerroni avatar Sep 19 '17 16:09 ecerroni

This would be super valuable, as icing on the cake here.

Harmonickey avatar Oct 24 '17 16:10 Harmonickey

@IvanGoncharov I see that in a recent version selection of the graph root has been added, but "Mutation" is not showing up there for me. Is this expected?

danpalmer avatar Nov 02 '18 13:11 danpalmer

@danpalmer If your API has "Mutation" than it should be shown right after "Query" at the top of the list. You can check if your API has a mutation root by executing:

{
  __schema {
    mutationType {
      name
    }
  }
}

IvanGoncharov avatar Nov 02 '18 14:11 IvanGoncharov

First of all great work, this is a super nice tool! It seems there's not too much activity on this issue - is there any update on this feature request?

danhorvath avatar Oct 14 '20 16:10 danhorvath