mirror of
https://github.com/kjuulh/dagger-rs.git
synced 2025-07-25 19:09:22 +02:00
set proper option type
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user