Commit Graph

390 Commits

Author SHA1 Message Date
Samuel Hurel
0344b0b996 Prefer TryFrom to TryInto for ID 2020-05-10 16:13:41 +02:00
Sunli
e3542a1360
Merge pull request #71 from IcanDivideBy0/cursor_from_display
Simplify ID and Cursor conversion
2020-05-10 22:09:09 +08:00
Samuel Hurel
327f59e2a9 Remove useless as_str on ID 2020-05-10 15:58:56 +02:00
Samuel Hurel
b2176fe6b0 Simplify ID conversion 2020-05-10 15:52:47 +02:00
Samuel Hurel
690f2b46c5 Simplify cursor conversion 2020-05-10 14:49:52 +02:00
sunli
841e822359 v1.11.1 2020-05-10 18:42:57 +08:00
sunli
4a68ac3786 Add ToGraphQLCursor and ToGraphQLID traits. #54 2020-05-10 18:39:53 +08:00
sunli
6d7d64866b The error reason can be returned when the input value is parsed incorrectly. #70 2020-05-10 18:27:46 +08:00
sunli
2267e961bf async-graphql-parser v0.2.0 2020-05-10 13:54:57 +08:00
Sunli
93dedf1198
Merge pull request #67 from DataCorrupted/master
slightly modified based on Sunli's reply.
2020-05-10 13:53:26 +08:00
Peter Rong
17bd315727 slightly modified based on Sunli's reply.
Signed-off-by: Peter Rong <PeterRong96@gmail.com>
2020-05-09 22:48:41 -07:00
sunli
dc963250e7 Update args.rs 2020-05-10 13:23:34 +08:00
sunli
f64b117859 v1.11.0 2020-05-10 13:09:57 +08:00
sunli
85156b69a8 Use rustdoc comments as graphql desc. #62 2020-05-10 12:41:05 +08:00
sunli
52170b6da3 Remove async-graphql-derive dependency on graphql-parser. 2020-05-10 11:12:07 +08:00
sunli
f7d308be8a Improve parser performance. 2020-05-10 10:59:51 +08:00
sunli
357a0b4cad Update docs 2020-05-10 09:41:13 +08:00
sunli
6874b8138c Update apollo_tracing.md 2020-05-10 09:03:21 +08:00
Sunli
0d3df4ad0f
Merge pull request #64 from DataCorrupted/master
Translate type system almost done with some TODO.
2020-05-10 08:56:50 +08:00
Sunli
87c856cc07
Merge pull request #65 from Ejhfast/book-english-translation
Ongoing english translations
2020-05-10 08:56:11 +08:00
Ethan Fast
cc17c32721 translate section 7 (advanced topics) 2020-05-09 15:37:31 -07:00
Peter Rong
f5ce459e51 resolved typo.
Signed-off-by: Peter Rong <PeterRong96@gmail.com>
2020-05-09 15:01:25 -07:00
Ethan Fast
625a3ddb5a translate section 6 (integrations) 2020-05-09 14:56:45 -07:00
Ethan Fast
774cde91aa translate section 5 (extensions) 2020-05-09 14:39:04 -07:00
Ethan Fast
ab9cefb349 translate section 4 (schema) 2020-05-09 13:56:15 -07:00
Peter Rong
b5c8e80151 Translate type system almost done with some TODO.
Signed-off-by: Peter Rong <PeterRong96@gmail.com>
2020-05-09 10:53:41 -07:00
sunli
917783038a Remove the disgusting functions json_value_to_gql_value and gql_value_to_json_value.😂 2020-05-09 22:16:39 +08:00
sunli
da26857379 Move the parser to async-graphql-parser crate. 2020-05-09 22:02:55 +08:00
sunli
36967ffa4f Add ability to forward field arguments to guard #59 2020-05-09 18:34:57 +08:00
sunli
311859e12a Merge branch 'parser'
Implement a new GraphQL query parser and remove the dependency on graphql-parser.
2020-05-09 17:55:04 +08:00
Sunli
08539d8151 Update json.rs 2020-05-08 10:40:29 +08:00
sunli
8d5f908f96 v1.10.12 2020-05-07 20:45:33 +08:00
sunli
7a025d2185 Clippy cleanup 2020-05-07 20:44:24 +08:00
sunli
a43d834a94 Add Json scalar type. #56 2020-05-07 20:41:00 +08:00
Sunli
0c4509a098
Merge pull request #57 from vkill/async-graphql-tide4
async-graphql-tide: add upload test
2020-05-07 20:39:58 +08:00
vkill
cb8c62eef6 async-graphql-tide: add upload test 2020-05-07 19:18:18 +08:00
sunli
e9c9dfbc27 Update any.rs 2020-05-07 18:50:47 +08:00
sunli
99ec304a3f v1.10.11 2020-05-07 18:49:26 +08:00
sunli
fee228b020 Add Any::parse_value method. #56 2020-05-07 18:49:09 +08:00
Sunli
9469c94b57
Merge pull request #55 from IcanDivideBy0/id_from_objectid
Add From<ObjectId> for ID
2020-05-07 15:53:41 +08:00
Samuel Hurel
2288138d5b Add ObjectId to ID type conversion 2020-05-07 08:42:34 +02:00
sunli
74ce2171b8 Add uuid::Uuid, usize to ID type conversion. #54 2020-05-07 11:15:04 +08:00
sunli
04a3b73c72 Update cursor_connections.md 2020-05-07 10:08:44 +08:00
sunli
5b50aa3c5b Update book.yml 2020-05-07 10:05:37 +08:00
Sunli
78096e0931
Merge pull request #53 from phated/datasource-context
Datasource context
2020-05-07 10:04:25 +08:00
Blaine Bublitz
aedb02fe63 Update book 2020-05-06 17:04:59 -07:00
Blaine Bublitz
bbc07163a6 Allow datasource to use context 2020-05-06 17:04:26 -07:00
Sunli
c27fd94308 Update base.rs 2020-05-06 10:02:25 +08:00
sunli
b985a00160 1.10.10 2020-05-06 06:53:26 +08:00
sunli
e3955b1e6a Make PageInfo available from outside (#52) 2020-05-06 06:52:04 +08:00