Schema.transform with another using Schema.extend, but I can't get it to work.{fallback: 0|1, ...rest} to {fallback?: true, ...rest}. fallback Struct which can either be {} or {fallback: true} (this part behaves as expected)Unsupported schema or overlapping types
cannot extendwith{ readonly id: number; readonly type: "lesson" | "playground"; readonly ordering: number; readonly published: BooleanFromUnknown; readonly title: string; readonly slug: string }with ({ readonly fallback: 0 | 1 } <-> { readonly fallback: true } | {})
Encoded will give me {fallback?: 1 | 0 | undefined, ...rest} which is not correctS.decodeUnknown will output {fallback: undefined, ...rest} instead of omitting fallback when it is 0, which can't be converted to JSON.