Since typeguard was updated in #1569, the use of deployment.keys (+ a few required options in nixops-gce, like bootstrapImage), has been broken. This is because typeguard now inspects the type of mapping containers (Mapping[str, KeyOptions] and such) and nested such containers weren't handled by ImmutableValidatedObject.
This also improves the handling of nested sequences and fixes their associated test.
Since typeguard was updated in #1569, the use of
deployment.keys
(+ a few required options innixops-gce
, likebootstrapImage
), has been broken. This is because typeguard now inspects the type of mapping containers (Mapping[str, KeyOptions]
and such) and nested such containers weren't handled byImmutableValidatedObject
.This also improves the handling of nested sequences and fixes their associated test.
fixes #1570