[x] Name your pull request your-development-type/short-description. Ex: feature/read-tiff-files
[ ] Link to any relevant issue in the PR description. Ex: Resolves [gh-12], adds tiff file format support
[x] Provide context of changes.
Added a function that updates the field of a collection. This is to account for scenarios in our database where the values of a collection's hasn't actually been created yet.
I thought it would be better to write one generalizable function then several specific function such as add_minutes_item_to_event_minutes_item. Either way we can just use update_collection_with_field or create collection-specific methods that use it.
[x] Provide relevant tests for your feature or bug fix.
Just did a manual test, and it works for both simple and complex data structures (strings, dictionaries)
[ ] Provide or update documentation for any feature added by your pull request.
Pull request recommendations:
add_minutes_item_to_event_minutes_item
. Either way we can just useupdate_collection_with_field
or create collection-specific methods that use it.Thanks for contributing!