-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug? Serializer throws on tuples with null union eg [number | null, number | null] #603
Comments
lionelhorn
added a commit
to lionelhorn/deepkit-framework
that referenced
this issue
Aug 11, 2024
Some failing tests https://github.com/lionelhorn/deepkit-framework/blob/603-fix-tuples-cast/packages/type/tests/issues/typed-tuples.spec.ts in current master 5ae467e |
lionelhorn
added a commit
to lionelhorn/deepkit-framework
that referenced
this issue
Aug 11, 2024
…ared` deepkit#603 - When a tuple definition contained "duplicated" union types like [number|null, number|null], the jitted function couldln't be build as some variable like `oldErrors` were already declared.
lionelhorn
added a commit
to lionelhorn/deepkit-framework
that referenced
this issue
Aug 11, 2024
…ared` deepkit#603 - When a tuple definition contained "duplicated" union types like [number|null, number|null], the jitted function couldln't be build as some variable like `oldErrors` were already declared. Probably one block per number|null
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following test will throw when executing
cast<T>
More context in discord
The text was updated successfully, but these errors were encountered: