[pve-devel] applied: [PATCH common] JSONSchema: property strings: handle boolean default_key consistently

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Sep 30 19:36:10 CEST 2025


On Fri, 12 Sep 2025 11:39:09 +0200, Dominik Csapak wrote:
> A schema with a default_key that is of type boolean, e.g.
> 
> ```
> enabled => {
>     type => 'boolean',
>     default_key = 1,
> },
> ```
> (can be found for example in qemu-server's 'agent' property)
> 
> [...]

Applied, with the commit message reworked as I found it a bit hard to follow
the examples that way, thanks!

I also added some basic test system in a follow-up commit, for now it really
focuses on this issue here, but should be relatively easy to expand to cover
more code area of property string but also rest of JSON schema.

[1/1] JSONSchema: property strings: handle boolean default_key consistently
      commit: ac547b8739dc8e40bc05b14e4431298104a6e0e2




More information about the pve-devel mailing list