bcgov / ppr-deprecated

deprecated-Personal Property Registry
Apache License 2.0
2 stars 10 forks source link

Rearrange the base party and submodels #884

Closed WalterMoar closed 4 years ago

WalterMoar commented 4 years ago

Updated the BaseParty model and the models it uses, so that fromJson handles undefined. This allows the logic to stay within the model, so that anything using the model is simpler.

Changed the person name model to be a single layer, rather than the double set of interfaces.

Made toJson and fromJson stricter WRT handling empty objects and undefined fields.

sonarcloud[bot] commented 4 years ago

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication