Kian-Meng Ang
a210f64426
Fix typos ( #951 )
2022-06-15 22:18:39 +08:00
Sunli
93763997af
Rework connection types
2022-04-19 19:18:06 +08:00
Sunli
4eab572409
Remove useless ParseQueryFut
type
2022-04-15 15:31:07 +08:00
Douman
a78b1415b9
Introduce ability to pre-parse Request's query
2022-04-15 15:58:09 +09:00
Sunli
334307b2c2
Add Union
and Interface
support for trait objects. #780
...
Clippy clean
2022-01-11 09:35:09 +08:00
Sunli
dfb6bae04f
Update async-graphql-poem
2021-11-12 07:23:05 +08:00
Sunli
b75aa6c25b
Rework websocket
2021-11-12 07:23:04 +08:00
Sunli
271946eb0c
Respect query object field order. #612
2021-10-26 19:02:15 +08:00
Sunli
243e1d323a
Add support for graphql-ws pings. #635
2021-09-16 21:10:39 +08:00
Sunli
9b383baa6b
Fix typo
2021-09-03 15:15:41 +08:00
Erik Tesar
0c1d4963aa
fix: fix build and gate cbor behind feature flag
2021-09-02 15:58:37 +02:00
Erik Tesar
ff0469a09f
Merge feat/multipart into master
2021-09-02 15:32:08 +02:00
Erik Tesar
b02dd801b0
feat: implement cbor in multipart
2021-09-02 15:27:44 +02:00
Sunli
3a648d00d0
Update mod.rs
2021-09-02 20:19:08 +08:00
Sunli
9dae0ad8c8
Update CHANGELOG
2021-09-02 20:06:39 +08:00
Sunli
a8d6163027
Merge branch 'master' of https://github.com/minkan-chat/async-graphql into pr/619
2021-09-02 20:03:02 +08:00
Sunli
96d8907ea6
Merge branch 'master' into pr/619
2021-09-02 19:39:49 +08:00
Sunli
3b9fa765ad
Add feature gate cbor
.
2021-09-02 19:39:45 +08:00
Erik Tesar
c18547e9e3
style: cargo fmt
...
please note that clippy probably will still fail, because this fork was created before c4cfa24e41
2021-09-02 13:37:18 +02:00
Erik Tesar
800eb4b10a
fix: ParseRequestError::InvalidFilesMap now is dyn std::error::Error
2021-09-02 12:21:34 +02:00
Nicolai Unrein
23a0c84aa9
Remove unnecessary unwrap
in multipart handler
...
The call to `unwrap` is not save at this point and will panic on connection errors/disconnects.
Instead a `ParseRequestError::InvalidMultipart(multer::Error)` will now get returned instead.
2021-08-03 11:59:23 +02:00
Sunli
5eafa69626
Add Axum integration.
2021-08-03 08:56:24 +08:00
Erik Tesar
c1cc30d421
decide which decoder to use based on content-type
2021-07-31 14:52:56 +02:00
Erik Tesar
661a416c00
always use cbor methode for deserialization
2021-07-28 17:37:47 +02:00
Erik Tesar
93e4bc5a2b
try to use cbor decoding
2021-07-27 21:37:30 +02:00
Miaxos
11c67e6cc3
misc: boxed error
2021-07-26 17:32:49 +00:00
cloudybyte
9fe4188196
try to add cbor support
2021-07-26 17:29:52 +02:00
Tim Maddison
ef70b913e4
Reformat
2021-07-23 10:09:02 +01:00
Tim Maddison
f9451c09b9
Change with_setting to accept any JSON value
2021-07-23 09:44:04 +01:00
Sunli
20ee79993c
Clippy clean
2021-06-18 10:43:34 +08:00
Sunli
185e003fba
Remove the static
constraint of the receive_body
and receive_batch_body
functions. #544
2021-06-16 17:20:41 +08:00
Sunli
1086d279c3
Bump multer from v1.2.2
to v2.0.0
2021-06-07 14:07:53 +08:00
Oscar Beaumont
32c81d1268
style:linted code
2021-05-18 03:27:50 +08:00
Oscar Beaumont
21938bb363
Allow the ability to set GraphQL Playground settings
2021-05-14 15:16:23 +08:00
Sunli
81486980a5
Rustfmt
2021-05-08 14:10:59 +08:00
D1plo1d
820751d126
feat: Websocket::with_message_stream added for developers to experiment with File Uploads over WebSockets
2021-05-06 20:08:28 -04:00
Utkarsh Kukreti
14d0ff258d
add missing fonts to http::playground_source's html
...
graphql-playground uses Open Sans and Source Code Pro and its README
suggests adding this snippet [1].
[1]: https://github.com/graphql/graphql-playground#use
2021-04-18 03:03:29 +05:30
Sunli
cc937b70b5
Rework Extension & TracingExtension & OpenTelemetryExtension
2021-03-26 12:03:10 +08:00
Sunli
e991ffb814
Fix internal context missing when there's no connection_init frame. #451
2021-03-24 17:24:12 +08:00
Sunli
8310fa4350
Now all features are not activated by default.
2021-03-22 10:39:17 +08:00
Sunli
3f913651b1
Remove unnecessary Box from WebSocket messages.
2021-03-09 12:07:12 +08:00
puh
eabdf6a74a
Fix typo in multipart stream size limit calculations
2021-02-13 21:50:17 +03:00
Sunli
550ecd9660
Fixed GraphQL over WebSocket Protocol does not support ConnectionError events. #406
2021-02-06 11:02:41 +08:00
Sunli
8f4f32bae2
Fixed the bug that can accept subscription requests during the initialization of WebSocket.
2021-02-06 09:24:00 +08:00
Sunli
43a8ad6859
Supports async websocket initializer. #393
2021-01-16 16:37:20 +08:00
Sunli
95e372e0d3
Add Send + Sync
constraints for InputType
, OutputType
and SubscriptionType
.
2021-01-14 12:41:59 +08:00
Sunli
30dffdd47f
Merge branch 'master' into pr/350
2020-12-04 12:17:23 +08:00
Patrick Fernie
f7b9fa03f6
use Sec-WebSocket-Protocol
header to negotiate protocol
2020-12-03 16:16:07 -05:00
Patrick Fernie
9d12337972
rustfmt fixes
2020-12-02 08:41:12 -05:00
Patrick Fernie
5f25b296b0
Add graphql-ws
feature for subprotcol selection
...
On 2020-09-14 a revised version of the [GraphQL over
WebSocket](https://the-guild.dev/blog/graphql-over-websockets ) spec was
released as [graphql-ws](https://github.com/enisdenjo/graphql-ws ), which
differs from the de facto standard implemented by
[subscriptions-transport-ws](https://github.com/apollographql/subscriptions-transport-ws ).
This adds a new `cargo` (non-default) feature, `graphql_ws`, which when enabled utilizes the new protocol spec.
Original [subscriptions-transport-ws
protocol](https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md )
Revised [graphql-ws
protocol](https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md )
2020-12-02 08:13:00 -05:00