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

Fix syntax errors in Standalone code example #1279

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

reywood
Copy link

@reywood reywood commented May 28, 2020

TODO:

  • Make sure all of new logic is covered by tests and passes linting
  • Update CHANGELOG.md with your change

@apollo-cla
Copy link

@reywood: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

context: {} //optional
extensions: {} //optional
variables: {}, //optional
operationName: {}, //optional
Copy link

@wdibi wdibi Jul 5, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
operationName: {}, //optional
operationName: '', //optional

I think operationName should be an empty String not an empty Object.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants