2021-08-11 17:41:49 +03:00
|
|
|
error: GraphQL object synchronous resolvers are not supported
|
2021-12-14 19:30:27 +02:00
|
|
|
--> fail/subscription/field_not_async.rs:11:5
|
2021-08-11 17:41:49 +03:00
|
|
|
|
|
|
|
|
11 | fn id(&self) -> Stream<'static, bool> {
|
2021-12-20 15:50:49 +03:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2022-06-28 18:32:08 +03:00
|
|
|
= note: https://spec.graphql.org/October2021#sec-Objects
|
2021-12-20 15:50:49 +03:00
|
|
|
= note: Specify that this function is async: `async fn foo()`
|