We should review the question of type hint Optional for boolean-valued options. Type hint bool is interpreted as default false in the command line, whether or not it is wrapped in Optional; type hint 'bool' is interpreted as nullable in schema generation only if wrapped in Optional. Schema generation should match the behavior of the command line interpretation.
Description
Description
Details
Details
- Difficulty level
- Easy (less than an hour)
- Version
- vyos-1.4
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Perfectly compatible
- Issue type
- Bug (incorrect behavior)