I love the new look and abilities of the Apollo Graphql playground (in Studio). However, I need to name my queries so I can organize them. All the tabs in the query workspace are “Unnamed” and for the life of me I can’t figure out how to name them. Can someone point me in the right direction? Thanks.
BTW, this is a make or break thing for me. I’ve been forced to use the older version of graphql playground for my testing purposes.
Hello! The name of a tab in the Explorer reflects the name of the topmost operation you define in that tab’s editor. If the topmost operation is anonymous, then the tab’s title is “Unnamed”:
# ✅ Operation has name, tab will be named "GetBooks"
query GetBooks {
books {
title
}
}
# ❌ Anonymous operation, tab will be named "Unnamed"
query {
books {
title
}
}