You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nothing can match type FooSchema. I understand that this is the result of a combination of optionFromNullable and intersection. It turns out that we do not fully support the JSONSchema. We could throw away the mistake of not supporting this case.
Let's discuss this and think about a solution.
The text was updated successfully, but these errors were encountered:
schema.yaml
It is correct JSONSchema
FooSchema equal type:
type FooSchema = { type: 'FOO' | 'BAR' | 'BAZ' } & { type: 'FOO' | undefined} -> { type: 'FOO' }
generated code:
Nothing can match type FooSchema. I understand that this is the result of a combination of
optionFromNullable
andintersection
. It turns out that we do not fully support the JSONSchema. We could throw away the mistake of not supporting this case.Let's discuss this and think about a solution.
The text was updated successfully, but these errors were encountered: