Correct import path for cursor connection in docs

This commit is contained in:
Maciej Zwoliński 2022-03-02 11:08:14 +01:00 committed by Maciej Zwoliński
parent 8871a53f82
commit 38725bad2a
3 changed files with 5 additions and 5 deletions

View File

@ -6,7 +6,7 @@ Defining a cursor connection in `async-graphql` is very simple, you just call th
```rust
use async_graphql::*;
use async_graphql::connection::*;
use async_graphql::types::connection::*;
struct Query;

View File

@ -8,7 +8,7 @@ Relay定义了一套游标连接规范以提供一致性的分页查询方式
```rust
use async_graphql::*;
use async_graphql::connection::*;
use async_graphql::types::connection::*;
struct Query;
@ -42,4 +42,4 @@ impl Query {
})
}
}
```
```

View File

@ -26,7 +26,7 @@ pub struct EmptyFields;
///
/// ```rust
/// use async_graphql::*;
/// use async_graphql::connection::*;
/// use async_graphql::types::connection::*;
///
/// struct Query;
///
@ -116,7 +116,7 @@ where
///
/// ```rust
/// use async_graphql::*;
/// use async_graphql::connection::*;
/// use async_graphql::types::connection::*;
///
/// #[derive(SimpleObject)]
/// struct MyEdge {