pulibrary / tiger-data-app

TigerData is a comprehensive set of data storage and management tools and services that provides storage capacity, reliability, functionality, and performance to meet the needs of a rapidly changing research landscape and to enable new opportunities for leveraging the power of institutional data.
Apache License 2.0
6 stars 0 forks source link

Convert ProjectMetadata class to have ruby attributes instead of being based on a hash #769

Open carolyncole opened 3 weeks ago

carolyncole commented 3 weeks ago

What maintenance needs to be done?

Utilizing a hash is hard to test and unreliable. We would like the class to explicitly know about all attributes needed and be able to validate those attributes.

We also want the Metadata class to be able to be used to generate the json for the project.to_json and the jsonb for the database save.

Level of urgency

Acceptance criteria

Implementation notes, if any

carolyncole commented 3 weeks ago

Hey team! Please add your planning poker estimate with Zenhub @hectorcorrea @JaymeeH @jrgriffiniii @kelynch @leefaisonr