graphql-python / graphql-core

A Python 3.6+ port of the GraphQL.js reference implementation of GraphQL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Include name in representation of named nodes

LinuxIsCool opened this issue · comments

I'm parsing schema's to build datasets of available queries. Having a repr on nodes that displays attribute information would be very useful. I'm looking at my code from 2 years ago which had this functionality. Running the same code today renders non-useful repr of nodes.

Notebook state that I ran 2 years ago:
image

Notebook state ran today:
image

You can see how the repr displaying the value of the name is very useful.