Skip to content

Commit

Permalink
Updating out of date urls (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
GreenGremlin authored and jnwng committed Mar 5, 2019
1 parent 1109462 commit 50a850e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ console.log(query);

You can easily explore GraphQL ASTs on [astexplorer.net](https://astexplorer.net/#/drYr8X1rnP/1).

This package is the way to pass queries into [Apollo Client](https://github.com/apollostack/apollo-client). If you're building a GraphQL client, you can use it too!
This package is the way to pass queries into [Apollo Client](https://github.com/apollographql/apollo-client). If you're building a GraphQL client, you can use it too!

#### Why use this?

GraphQL strings are the right way to write queries in your code, because they can be statically analyzed using tools like [eslint-plugin-graphql](https://github.com/apollostack/eslint-plugin-graphql). However, strings are inconvenient to manipulate, if you are trying to do things like add extra fields, merge multiple queries together, or other interesting stuff.
GraphQL strings are the right way to write queries in your code, because they can be statically analyzed using tools like [eslint-plugin-graphql](https://github.com/apollographql/eslint-plugin-graphql). However, strings are inconvenient to manipulate, if you are trying to do things like add extra fields, merge multiple queries together, or other interesting stuff.

That's where this package comes in - it lets you write your queries with [ES2015 template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals) and compile them into an AST with the `gql` tag.

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/apollostack/graphql-tag.git"
"url": "git+https://github.com/apollographql/graphql-tag.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/apollostack/graphql-tag/issues"
"url": "https://github.com/apollographql/graphql-tag/issues"
},
"homepage": "https://github.com/apollostack/graphql-tag#readme",
"homepage": "https://github.com/apollographql/graphql-tag#readme",
"dependencies": {},
"devDependencies": {
"babel-preset-es2015": "^6.9.0",
Expand Down

0 comments on commit 50a850e

Please sign in to comment.