question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if youā€™re still stuck at the end, weā€™re happy to hop on a call to see how we can help out.

Breaking change in 0.1.17?

See original GitHub issue

I was using graphql-tag 0.1.16 along apollo-client 0.5.0, then updated to 0.1.17 and 0.5.6 respectively, which introduced the following TypeError: Cannot read property 'kind' of undefined raised from graphql-tag on GraphQL mutations.

This is what my mutation looks like:

  apollo.mutate({
      mutation: gql`
        mutation {
          newEntry(input: {
            name: "${entry.name}",
            description: "${entry.description}"
          }) {
            entryInfo {
              name,
              description
            }
          }
        }
      `
    });

Though Iā€™m really new to GraphQL so Iā€™m afraid I canā€™t get what kind could refer to šŸ˜•

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tmeasdaycommented, Dec 1, 2016

Oh, ughh, this is a bad bug. We should have a test for this. Even if we donā€™t encourage it, people defintitely do it.

0reactions
ClementParis016commented, Dec 1, 2016

Thanks for your help. I sort of felt that using interpolation wasnā€™t great because I had to wrap strings in quotes to get it to work. I will look into using GraphQL variables instead, thank you šŸ‘

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changelog - Recipes
Breaking Changes. The tidy method for step_dummy now returns the original variable and the levels of the future dummy variables.
Read more >
Release history - Event Data User Guide
Release History. This document describes substantial or breaking changes to the Event Data system. Changes. [2019-01-10] Change to Twitter URLs.
Read more >
dev_compiler changelog
0.1.24. workaround breaking change on requestAnimationFrame ... 0.1.17. preliminary node module support; support for compiling / serving multiple html filesĀ ...
Read more >
NEWS
... removes, doesn't deprecate) functions that were previously copied from other packages, introducing a few potentially breaking changes. ... Tmisc 0.1.17.
Read more >
Changelog | Misk-Web
Many other potential breaking changes in refactor and release of SimpleNetworkDucks and SimpleFormDucks . API not stable and may be changed in upcomingĀ ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found