The existing branch dev/better-errors works towards implementing some better validation of database records. The pre-existing validation prevents necessary values from being blank, but doesn't do much more than that. Boavizta API is not helpful in this case because it doesn't tend to throw errors even if the given values aren't valid. We already know the expected format of the data, so ensuring it's correct and that invalid records don't get added should be straightforward.
The existing branch
dev/better-errors
works towards implementing some better validation of database records. The pre-existing validation prevents necessary values from being blank, but doesn't do much more than that. Boavizta API is not helpful in this case because it doesn't tend to throw errors even if the given values aren't valid. We already know the expected format of the data, so ensuring it's correct and that invalid records don't get added should be straightforward.