-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from tomhoule/doctests
Add doctests on GraphQLResponse and GraphQLError
- Loading branch information
Showing
10 changed files
with
192 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "graphql_client" | ||
version = "0.2.0" | ||
version = "0.3.0" | ||
authors = ["Tom Houlé <[email protected]>"] | ||
description = "Typed GraphQL requests and responses" | ||
repository = "https://github.com/tomhoule/graphql-client" | ||
|
@@ -11,7 +11,7 @@ categories = ["network-programming", "web-programming", "wasm"] | |
[dependencies] | ||
failure = "0.1" | ||
quote = "0.3" | ||
graphql_query_derive = {path = "./graphql_query_derive", version = "0.2.0"} | ||
graphql_query_derive = {path = "./graphql_query_derive", version = "0.3.0"} | ||
graphql-parser = "0.2.0" | ||
serde = "1.0" | ||
serde_derive = "1.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "graphql_client_cli" | ||
description = "The CLI for graphql-client (WIP)" | ||
version = "0.2.0" | ||
version = "0.3.0" | ||
authors = ["Tom Houlé <[email protected]>"] | ||
license = "Apache-2.0 OR MIT" | ||
|
||
|
@@ -12,7 +12,7 @@ path = "src/main.rs" | |
[dependencies] | ||
failure = "0.1" | ||
reqwest = "0.8" | ||
graphql_client = { version = "0.2.0", path = ".." } | ||
graphql_client = { version = "0.3.0", path = ".." } | ||
structopt = "0.2" | ||
serde = "1.0" | ||
serde_derive = "1.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "graphql_query_derive" | ||
version = "0.2.0" | ||
version = "0.3.0" | ||
authors = ["Tom Houlé <[email protected]>"] | ||
description = "Utility crate for graphql_client" | ||
license = "Apache-2.0 OR MIT" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
query StarWarsQuery($episodeForHero: Episode!) { | ||
hero(episode: $episodeForHero) { | ||
name | ||
__typename | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters