Skip to content

defstruct accepts None for module/namespace/bases - #445

Merged
jcrist merged 1 commit into
mainfrom
defstruct-accept-none
Jun 19, 2023
Merged

defstruct accepts None for module/namespace/bases#445
jcrist merged 1 commit into
mainfrom
defstruct-accept-none

Conversation

@jcrist

@jcrist jcrist commented Jun 19, 2023

Copy link
Copy Markdown
Member

Previously these kwargs were documented as accepting None, but passing in None wasn't actually supported. This PR fixes this, and adds a test checking this behavior.

Fixes #444.

Previously these kwargs were documented as accepting `None`, but passing
in `None` wasn't actually supported. This PR fixes this, and adds a test
checking this behavior.
@jcrist
jcrist merged commit 9804bdb into main Jun 19, 2023
@jcrist
jcrist deleted the defstruct-accept-none branch June 19, 2023 20:09
peterschutt added a commit to litestar-org/litestar that referenced this pull request Jun 25, 2023
provinzkraut pushed a commit to litestar-org/litestar that referenced this pull request Jun 27, 2023
peterschutt added a commit to litestar-org/litestar that referenced this pull request Jun 29, 2023
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.

defstruct not accepting None as a value for module and namespace parameters

1 participant