Skip to content

Fix an issue when inner types of a discriminated union with a callable discriminator were not correctly identified as complex.#285

Merged
hramezani merged 1 commit intopydantic:mainfrom
jenskeiner:callable-discriminator
May 3, 2024
Merged

Fix an issue when inner types of a discriminated union with a callable discriminator were not correctly identified as complex.#285
hramezani merged 1 commit intopydantic:mainfrom
jenskeiner:callable-discriminator

Conversation

@jenskeiner
Copy link
Copy Markdown
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
Copy Markdown
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