juniper/tests/codegen/fail/subscription/field_not_async.stderr
ilslv a32140cd46
Update all links to October 2021 spec (#1075, #1000)
Co-authored-by: Kai Ren <tyranron@gmail.com>
2022-06-28 15:32:08 +00:00

8 lines
341 B
Text

error: GraphQL object synchronous resolvers are not supported
--> fail/subscription/field_not_async.rs:11:5
|
11 | fn id(&self) -> Stream<'static, bool> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: https://spec.graphql.org/October2021#sec-Objects
= note: Specify that this function is async: `async fn foo()`