You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've actually been searching for something like this for a long time, I had the same idea several years ago wrt. codegen but never found the time or motivation to do it.
I'm very happy with it so far, it's greatly improved validation of various configs used in PocketMine-MP.
Describe the bug
A property with a default value is not typically nullable, but if its
default
is 0, it's marked as nullable anyway.Expected behavior
Integer properties with 0 as the default value shouldn't be nullable.
Schema
Version:
Which version of the library do you use?
dev-master as of about 1h ago.
Additional context
My bet is that there's some weak comparison
==
somewhere that's responsible for this bug.The text was updated successfully, but these errors were encountered: