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

fix: FieldDescriptor.description to nullable #263

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

seokjun7410
Copy link

Found and fixed an issue where openapi3 task would fail if no description was provided. #121

I think this is a problem for all tasks, not just the openapi3 task.
So I changed the description field in the model to nullable.

If you're having trouble with this change, I'd appreciate direction.

@seokjun7410
Copy link
Author

@ozscheyge Please could you take a look at this PR

@xeromank
Copy link
Contributor

xeromank commented Aug 23, 2024

i don't understand.
do you really need nullable?
If you don't want to define it, you can use .ignored().
nullable is a problem that can increase readability and complexity
if not absolutely necessary.

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.

2 participants