Commit Graph

395 Commits

Author SHA1 Message Date
Blaine Bublitz
9ee269c512 Change interfaces to require enums 2020-05-10 20:03:13 -07:00
sunli
2761224335 v1.11.3 2020-05-10 23:02:33 +08:00
Samuel Hurel
8a5809e7df Merge pull request #72 from IcanDivideBy0/more_conversion_goodies
Prefer TryFrom to TryInto for ID
2020-05-10 16:44:13 +02:00
Samuel Hurel
05cac5854f impl From<ID> for Cursor 2020-05-10 16:25:16 +02:00
sunli
2f25c96955 v1.11.2 2020-05-10 22:13:58 +08:00
Samuel Hurel
c06f871b41 Prefer TryFrom to TryInto for ID 2020-05-10 16:13:41 +02:00
Sunli
94663e1a10 Merge pull request #71 from IcanDivideBy0/cursor_from_display
Simplify ID and Cursor conversion
2020-05-10 22:09:09 +08:00
Samuel Hurel
34f286b2d9 Remove useless as_str on ID 2020-05-10 15:58:56 +02:00
Samuel Hurel
c810764e7e Simplify ID conversion 2020-05-10 15:52:47 +02:00
Samuel Hurel
d3015e9814 Simplify cursor conversion 2020-05-10 14:49:52 +02:00
sunli
08cf3c5969 v1.11.1 2020-05-10 18:42:57 +08:00
sunli
ff6f97d7df Add ToGraphQLCursor and ToGraphQLID traits. #54 2020-05-10 18:39:53 +08:00
sunli
728989209f The error reason can be returned when the input value is parsed incorrectly. #70 2020-05-10 18:27:46 +08:00
sunli
212c573827 async-graphql-parser v0.2.0 2020-05-10 13:54:57 +08:00
Sunli
106622c9b9 Merge pull request #67 from DataCorrupted/master
slightly modified based on Sunli's reply.
2020-05-10 13:53:26 +08:00
Peter Rong
318be22c79 slightly modified based on Sunli's reply.
Signed-off-by: Peter Rong <PeterRong96@gmail.com>
2020-05-09 22:48:41 -07:00
sunli
2f98b09b6b Update args.rs 2020-05-10 13:23:34 +08:00
sunli
f7cbce0d75 v1.11.0 2020-05-10 13:09:57 +08:00
sunli
2755f4f9a9 Use rustdoc comments as graphql desc. #62 2020-05-10 12:41:05 +08:00
sunli
2e3df8ff43 Remove async-graphql-derive dependency on graphql-parser. 2020-05-10 11:12:07 +08:00
sunli
bc2966bc0d Improve parser performance. 2020-05-10 10:59:51 +08:00
sunli
d343c0c2f6 Update docs 2020-05-10 09:41:13 +08:00
sunli
72ec6cc3bc Update apollo_tracing.md 2020-05-10 09:03:21 +08:00
Sunli
9902b3c339 Merge pull request #64 from DataCorrupted/master
Translate type system almost done with some TODO.
2020-05-10 08:56:50 +08:00
Sunli
064354fbb7 Merge pull request #65 from Ejhfast/book-english-translation
Ongoing english translations
2020-05-10 08:56:11 +08:00
Ethan Fast
015e7ff6b5 translate section 7 (advanced topics) 2020-05-09 15:37:31 -07:00
Peter Rong
7591ef81bc resolved typo.
Signed-off-by: Peter Rong <PeterRong96@gmail.com>
2020-05-09 15:01:25 -07:00
Ethan Fast
ddceb05e69 translate section 6 (integrations) 2020-05-09 14:56:45 -07:00
Ethan Fast
5e7a7f0df1 translate section 5 (extensions) 2020-05-09 14:39:04 -07:00
Ethan Fast
d0b4e4db87 translate section 4 (schema) 2020-05-09 13:56:15 -07:00
Peter Rong
4ce0dc23b9 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
0d540465a5 Remove the disgusting functions json_value_to_gql_value and gql_value_to_json_value.😂 2020-05-09 22:16:39 +08:00
sunli
7f7e708614 Move the parser to async-graphql-parser crate. 2020-05-09 22:02:55 +08:00
sunli
f24c6fceff Add ability to forward field arguments to guard #59 2020-05-09 18:34:57 +08:00
sunli
dc7c8d5280 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
f63c923521 Update json.rs 2020-05-08 10:40:29 +08:00
sunli
7ecad73a44 v1.10.12 2020-05-07 20:45:33 +08:00
sunli
60e94890d0 Clippy cleanup 2020-05-07 20:44:24 +08:00
sunli
e6e1755502 Add Json scalar type. #56 2020-05-07 20:41:00 +08:00
Sunli
53ce98a524 Merge pull request #57 from vkill/async-graphql-tide4
async-graphql-tide: add upload test
2020-05-07 20:39:58 +08:00
vkill
732e491037 async-graphql-tide: add upload test 2020-05-07 19:18:18 +08:00
sunli
2ec948fdf5 Update any.rs 2020-05-07 18:50:47 +08:00
sunli
39b087e86d v1.10.11 2020-05-07 18:49:26 +08:00
sunli
c1e0b8f4a7 Add Any::parse_value method. #56 2020-05-07 18:49:09 +08:00
Sunli
2e32da7528 Merge pull request #55 from IcanDivideBy0/id_from_objectid
Add From<ObjectId> for ID
2020-05-07 15:53:41 +08:00
Samuel Hurel
12ced257a6 Add ObjectId to ID type conversion 2020-05-07 08:42:34 +02:00
sunli
539c75ee89 Add uuid::Uuid, usize to ID type conversion. #54 2020-05-07 11:15:04 +08:00
sunli
d5cce30883 Update cursor_connections.md 2020-05-07 10:08:44 +08:00
sunli
664e252372 Update book.yml 2020-05-07 10:05:37 +08:00
Sunli
0fa42491b6 Merge pull request #53 from phated/datasource-context
Datasource context
2020-05-07 10:04:25 +08:00