Yaak Logo
Yaak
Feedback/GQL automatic sending of operation name

GQL automatic sending of operation name

subbyte ·2 months ago
Needs TriageFeature RequestImprovementQuestion

When I’m developing a GQL server using Elixir/Ash, I have a setting on that requires all GQL queries to have correct operation name. If i write a query:

query MyUniqueQuery {
  myQuery {
    id
  }
}

I’d want for gql query to automatically have operation name MyUniqueQuery, but currently this doesn’t happen - I need to pass a param operationName with this value currently, and it’s tedious to change this parameter for each of many defined GQL queries.

I’m wondering if current behaviour is correct, as eg. Insomnia sends correct operation name derived from the query definition, with no need to manually add parameters to query.

Disclaimer: I’m a hobbyist using GQL, and I don’t actually know what the correct behaviour should be. I’m just asking if there is any way I could use Yaak with this usecase in mind, as I think it’s superior to Insomnia in many ways but this one.

macOS2026.2.1

Comments (0)

Sign in to leave a comment.

Type to search feedback...