mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2024-11-08 11:01:47 +01:00
set proper option type
This commit is contained in:
parent
34ed5fc3e9
commit
8549cfc3a7
@ -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
Loading…
Reference in New Issue
Block a user