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: set nullable true when default value is null #2390

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

Commits on Nov 11, 2024

  1. Set nullable true when default value is null

    When reflection shows that the default parameter of a a property is
    null, then the `nullable` parameter is set to `true` for that property.
    
    Currently that needs to be set via the attribute but that is a bit
    redundant as the information is already available from reflection
    
    This change only does that for properties and for setter methods.
    
    Right now getter methods that allow a null value to be returned are not
    taken into account for setting the `nullable` property.
    heiglandreas committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    318d00d View commit details
    Browse the repository at this point in the history