set proper option type

This commit is contained in:
Kasper Juul Hermansen 2023-02-01 15:06:28 +01:00
parent 34ed5fc3e9
commit 8549cfc3a7
Signed by: kjuulh
GPG Key ID: 57B6E1465221F912
2 changed files with 358 additions and 414 deletions

View File

@ -40,9 +40,9 @@ pub fn is_required_type(t: &FullTypeInputFields) -> bool {
pub fn is_required_type_ref(t: &TypeRef) -> bool {
match t.kind {
Some(__TypeKind::NON_NULL) => return false,
Some(_) => return true,
_ => return false,
Some(__TypeKind::NON_NULL) => return true,
Some(_) => return false,
_ => return true,
}
}

File diff suppressed because it is too large Load Diff