Skip to content

Commit 7e7e744

Browse files
committed
fix: rename deprecated method getTypeAsRequired on getTypeNonNull
1 parent 9548ef8 commit 7e7e744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AwsServiceOperation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default class AwsServiceOperation {
8989
type = GraphQLJSON;
9090
} else {
9191
const hasRequiredFields = itc.getFieldNames().some(f => itc.isRequired(f));
92-
type = hasRequiredFields ? (itc.getTypeAsRequired(): any) : itc.getType();
92+
type = hasRequiredFields ? (itc.getTypeNonNull(): any) : itc.getType();
9393
}
9494

9595
this.args = {

0 commit comments

Comments
 (0)