Skip to content

Support union types#1719

Open
tylerriccio33 wants to merge 15 commits into
fastapi:masterfrom
tylerriccio33:feature/union
Open

Support union types#1719
tylerriccio33 wants to merge 15 commits into
fastapi:masterfrom
tylerriccio33:feature/union

Conversation

@tylerriccio33

Copy link
Copy Markdown

Follow up to #1148

Original Comment:
_This PR adds the ability to use real unions (a la Union[int, str]), as requested in #461.

I am new to contributing to this Repository, and I'll happily add anything I might have missed (docs/tests/incorrect code location/etc)._

I didn't really add anything new aside from more tests, and the bugs called out in the comment section. If this is in line with what you're thinking, I can add more tests and update documentation! This would help me a lot at work, I could use Typer more.

@tylerriccio33

Copy link
Copy Markdown
Author

Hey mate @tiangolo , anything I can do to move this along? Looking to incorporate typer into some work I have coming up :)

@svlandeg svlandeg added the feature New feature, enhancement or request label May 10, 2026
@tylerriccio33

Copy link
Copy Markdown
Author

Hey @tiangolo any thoughts :)

@tylerriccio33

Copy link
Copy Markdown
Author

Anything that can be done to move this along ?

@github-actions github-actions Bot added the conflicts Automatically generated when a PR has a merge conflict label Jul 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has a merge conflict that needs to be resolved.

@github-actions github-actions Bot removed the conflicts Automatically generated when a PR has a merge conflict label Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature, enhancement or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants