optionalWith({ nullable: true }) for database fields that can be NULL, the types become incompatible with react-hook-form's resolver.as any type assertions in HealthScreeningForm.tsx (lines 89 and 196) with biome-ignore comments.@effect/sql-drizzle with PostgreSQL where optional fields are stored as NULL in the database. My schema uses Schema.optionalWith({ nullable: true }) to handle these nullable fields:@hookform/resolvers/effect-ts. The resolver sees the Encoded type which includes null, but react-hook-form expects only boolean | undefined for optional fields.UndefinedFromNull helper that transforms T | null to T | undefined, but wrapping with Schema.optional() re-introduces the null type in the Encoded side.Schema.optional() makes all fields required in the struct (even though they can be undefined).null in the Encoded type breaks react-hook-formSchema.optional makes fields required in TypeScript even when undefinedboolean | null | undefined is not assignable to boolean | undefined