-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[grid] AnnotatedConfig should ignore default values of primitive types
For primitive types, it is impossible to determine whether or not a value has been set to the default value (false for booleans, 0 for numbers) or has merely been left blank. The annotated configs must therefore support the ability to ignore those values, otherwise they'll be "set", and that prevents the CompoundConfig from working as expected.
- Loading branch information
Showing
2 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters