Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Apollo Studio on fragments variables request error #1315

Open
reaink opened this issue Feb 22, 2022 · 0 comments
Open

Apollo Studio on fragments variables request error #1315

reaink opened this issue Feb 22, 2022 · 0 comments

Comments

@reaink
Copy link

reaink commented Feb 22, 2022

my request gql

query FindManyActor($withPhone: Boolean = false) {
  findManyActor {
    ...ActorFields
  }
}

fragment ActorFields on Actor {
  id
  name
  phone @include(if: $withPhone)
}

Some variables were not sent completely.

image

Real sent request
image
queryData

query FindManyActor                              {
  findManyActor {
    ...ActorFields
  }
}

fragment ActorFields on Actor {
  id
  name
  phone @include(if: $withPhone)
}
{
  "query": "query FindManyActor                              {\n  findManyActor {\n    ...ActorFields\n  }\n}\n\nfragment ActorFields on Actor {\n  id\n  name\n  phone @include(if: $withPhone)\n}",
  "variables": {},
  "operationName": "FindManyActor"
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant