Skip to content

Conversation

jenskeiner
Copy link
Contributor

@jenskeiner jenskeiner commented May 3, 2024

Closes #284

…e discriminator were not correctly identified as complex.
@hramezani hramezani changed the title Fix an issue when inner types of a discriminated union with a callabl… Fix an issue when inner types of a discriminated union with a callable discriminator were not correctly identified as complex. May 3, 2024
@hramezani hramezani merged commit 8c5a45e into pydantic:main May 3, 2024
@hramezani
Copy link
Member

Thanks @jenskeiner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Discriminated unions with callable discriminator don't work correctly.
2 participants