Skip to content

Commit e8d8d57

Browse files
committed
Fix comment
1 parent f38868f commit e8d8d57

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/cli.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,11 @@ function makeConvertType(toStrict: boolean) {
168168
}
169169

170170
/**
171-
* Takes a GraphQL type along with levels at which to apply
172-
* semantic-non-null, and returns a converted type with these levels applied.
171+
* Takes a GraphQL field config and checks to see if the `@semanticNonNull`
172+
* directive was applied; if so, converts to a field config using explicit
173+
* GraphQLSemanticNonNull wrapper types instead.
174+
*
175+
* @see {@url https://www.apollographql.com/docs/kotlin/advanced/nullability/#semanticnonnull}
173176
*/
174177
function applySemanticNonNullDirective(
175178
spec: GraphQLFieldConfig<any, any, any>,

0 commit comments

Comments
 (0)