Skip to content

Conversation

tylersatre
Copy link

I've currently got transform_null_to_optional set to true and most of my code relies on that. I've recently had a use case where I wanted to have a property be nullable, but not show it as optional.

The NullableNotOptional property ensures that definitions don't show a property as optional and will add null as a union type to anything else that's been specified.

Please let me know if there are any changes needed!

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.

1 participant