Skip to content

Conversation

@dbanty
Copy link
Collaborator

@dbanty dbanty commented Feb 20, 2024

This PR was created by Knope. Merging it will create a new release

Fixes

Remove spurious field_dict.update({}) for types without properties (#969)

Fix invalid type check for nested unions

Nested union types (unions of unions) were generating isinstance() checks that were not valid (at least for Python 3.9).

Thanks to @codebutler for PR #959 which fixes #958 and #967.

@dbanty dbanty merged commit dbdbe33 into main Feb 20, 2024
@dbanty dbanty deleted the release branch February 20, 2024 03:07
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.

Invalid code generated for nullable discriminated union

2 participants