Skip to content

Conversation

gr2m
Copy link
Contributor

@gr2m gr2m commented Jan 7, 2019

No description provided.

gr2m added 3 commits January 7, 2019 13:03
BREAKING CHANGE: The `{data}` namespace from the graphql query result has been removed. The resulting data is now returned directly.

Before

```js
const {data: {viewer}} = await graphql(`{
  viewer {
    bioHtml
  }
}`)
```

After

```js
const {viewer} = await graphql(`{
  viewer {
    bioHtml
  }
}`)
```
@gr2m gr2m merged commit 0040601 into master Jan 7, 2019
@gr2m gr2m deleted the return-result-without-data-namespace branch January 7, 2019 21:44
@octokitbot
Copy link
Contributor

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

2 participants