Graphiql: Named history requests

Created on 30 Nov 2017  路  3Comments  路  Source: graphql/graphiql

First off, appreciate the tool and the effort maintaining it.

Second, is there a way to name the queries in the history tab? It's a feature I appreciate about some of the 3rd party tools.

So, instead of seeing query { userById(id: 1) { ... (which can be ambiguous as many of my queries start like this), I'd like to rename it to user 1 - most recent ToDos.

enhancement help wanted

Most helpful comment

@claudiopro Yes, was thinking an input field. #644 looks great!

All 3 comments

Thanks for the suggestion @everdev! Storing by the query name is something we wanted to get to - would love some contribution here please!

Hi @asiandrummer I'd love to help. I see the query history uses the operationName to label queries, e.g. see screenshot:

screen shot 2017-12-31 at 16 53 02

@everdev were you thinking of letting the user enter a name for the query via an input field?

@claudiopro Yes, was thinking an input field. #644 looks great!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

divyenduz picture divyenduz  路  21Comments

asiandrummer picture asiandrummer  路  12Comments

majkrzak picture majkrzak  路  12Comments

dontsave picture dontsave  路  19Comments

asiandrummer picture asiandrummer  路  23Comments