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 generating null return type from reflection in TypeGenerator #186

Open
wants to merge 1 commit into
base: 4.12.x
Choose a base branch
from

Conversation

robertlemke
Copy link

The TypeGenerator failed with "type 'null' cannot be nullable" when fromReflectionType() was called for a method with a return type "null" due to a incorrect comparison with the string "null". This change corrects the comparison so that such methods are reflected without errors.

Obvious fix.

Resolves: #185

The TypeGenerator failed with "type 'null' cannot be nullable" when
`fromReflectionType()` was called for a method with a return type
"null" due to a incorrect comparison with the string "null". This
change corrects the comparison so that such methods are reflected
without errors.

Obvious fix.
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.

TypeGenerator fails with type "null" cannot be nullable
1 participant