File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 5
5
- ** core** : BREAKING - ` diff ` is now async
6
6
- ** core** : Adds ` considerUsage ` rule
7
7
- ** core** : Fixes missing names of default root types
8
+ - ** cli** , ** ci** : Adds ` @aws_lambda ` directive
8
9
9
10
### v2.9.0
10
11
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ describe('aws', () => {
29
29
30
30
const schema = await new LoadersRegistry ( ) . loadSchema (
31
31
/* GraphQL */ `
32
- type AWS_Data {
32
+ type AWS_Data @aws_lambda {
33
33
normalScalar: String
34
34
date: AWSDate!
35
35
time: AWSTime!
@@ -43,17 +43,15 @@ describe('aws', () => {
43
43
}
44
44
45
45
type Query {
46
- data: AWS_Data
46
+ data: AWS_Data @aws_lambda
47
47
}
48
48
` ,
49
49
{ } ,
50
50
false ,
51
51
true ,
52
52
) ;
53
53
54
- const results = validate ( schema , [ new Source ( print ( doc ) ) ] , {
55
- // aws: true,
56
- } ) ;
54
+ const results = validate ( schema , [ new Source ( print ( doc ) ) ] ) ;
57
55
58
56
expect ( results ) . toHaveLength ( 0 ) ;
59
57
} ) ;
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ export class LoadersRegistry {
88
88
directive @aws_cognito_user_pools(
89
89
cognito_groups: [String!]
90
90
) on FIELD_DEFINITION | OBJECT
91
+ directive @aws_lambda on FIELD_DEFINITION | OBJECT
91
92
` ) ,
92
93
] ,
93
94
}
You can’t perform that action at this time.
0 commit comments