File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ import * as GQL from 'type-graphql';
2
2
3
3
@GQL . ArgsType ( )
4
4
export class ConnectionArgs {
5
- @GQL . Field ( {
5
+ @GQL . Field ( _type => String , {
6
6
nullable : true ,
7
7
description : 'Retrieve page of edges before opaque cursor.' ,
8
8
} )
9
9
public before ?: string ;
10
10
11
- @GQL . Field ( {
11
+ @GQL . Field ( _type => String , {
12
12
nullable : true ,
13
13
description : 'Retrieve page of edges after opaque cursor.' ,
14
14
} )
Original file line number Diff line number Diff line change @@ -3,16 +3,16 @@ import * as GQL from 'type-graphql';
3
3
4
4
@GQL . ObjectType ( )
5
5
export class PageInfo implements Relay . PageInfo {
6
- @GQL . Field ( )
6
+ @GQL . Field ( _type => Boolean )
7
7
public hasNextPage ! : boolean ;
8
8
9
- @GQL . Field ( )
9
+ @GQL . Field ( _type => Boolean )
10
10
public hasPreviousPage ! : boolean ;
11
11
12
- @GQL . Field ( { nullable : true } )
12
+ @GQL . Field ( _type => String , { nullable : true } )
13
13
public startCursor ?: string | null ;
14
14
15
- @GQL . Field ( { nullable : true } )
15
+ @GQL . Field ( _type => String , { nullable : true } )
16
16
public endCursor ?: string | null ;
17
17
18
18
@GQL . Field ( _type => GQL . Int , { nullable : true } )
You can’t perform that action at this time.
0 commit comments