Skip to content

Conversation

mwisner
Copy link

@mwisner mwisner commented May 6, 2025

Hi,

I'm totally new to persisted queries, but I was doing some research and noticed that at least according to this document: https://www.apollographql.com/docs/kotlin/v5/advanced/persisted-queries

The persisted query manifest looks something like:

{
  "format": "apollo-persisted-query-manifest",
  "version": 1,
  "operations": [
    {
      "id": "e0321f6b438bb42c022f633d38c19549dea9a2d55c908f64c5c6cb8403442fef",
      "body": "query GetItem { thing { __typename } }",
      "name": "GetItem",
      "type": "query"
    }
  ]
}

however this package generates it as:

{
  "format": "apollo-persisted-query-manifest",
  "version": 1,
  "operations": {
    "e0321f6b438bb42c022f633d38c19549dea9a2d55c908f64c5c6cb8403442fef":  {
      "body": "query GetItem { thing { __typename } }",
      "name": "GetItem",
      "type": "query"
    }
  }
}

@mwisner mwisner marked this pull request as ready for review May 6, 2025 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant