sul-dlss / cocina-models

Cocina repository data model (implemented in Ruby)
https://sul-dlss.github.io/cocina-models/
3 stars 0 forks source link

When building handle missing type or symbol keys #347

Closed lwrubel closed 2 years ago

lwrubel commented 2 years ago

NOTE: Changes to openapi.yml require updating openapi.yml for sdr-api and dor-services-app and generating models - see README.

Why was this change made? 🤔

Resolves #346 and #318, to be more flexible with hash keys when building and raising clearer errors.

How was this change tested? 🤨

Added specs and specs pass.

âš¡ âš  If this change has cross service impact, run integration tests and/or test in [stage|qa] environment, in addition to specs. âš¡