We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getTypeAsRequired
getTypeNonNull
1 parent 9548ef8 commit 7e7e744Copy full SHA for 7e7e744
src/AwsServiceOperation.js
@@ -89,7 +89,7 @@ export default class AwsServiceOperation {
89
type = GraphQLJSON;
90
} else {
91
const hasRequiredFields = itc.getFieldNames().some(f => itc.isRequired(f));
92
- type = hasRequiredFields ? (itc.getTypeAsRequired(): any) : itc.getType();
+ type = hasRequiredFields ? (itc.getTypeNonNull(): any) : itc.getType();
93
}
94
95
this.args = {
0 commit comments