Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

defstruct accepts None for module/namespace/bases #445

Merged
merged 1 commit into from
Jun 19, 2023

Conversation

jcrist
Copy link
Owner

@jcrist jcrist commented Jun 19, 2023

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