···567567 option.Some(t) -> t
568568 option.None -> field_type_def
569569 }
570570- let type_to_use = case schema.is_union(unwrapped_type)
570570+ let type_to_use = case
571571+ schema.is_union(unwrapped_type)
571572 {
572573 True -> {
573574 // Create context with the field value for type resolution