Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
modify statedict: enable storing dict via json.dump #1410
attr_property has the ability to set state for attributes created with the "json" type with values of the list or dict type.
The diff engine uses the newer StateDict, which has it's own setter for state.
The nixops-aws VPC resources which motivated the diff engine never had a dict case, so I guess it was left out, but it's important to keep this functionality for other resources which want to use the diff engine in the future (I am working on some).