When pydantic encounters an invalid payload, the following exception is raised (example taken from #50):
auraxium\event\_client.py:167> exception=ValidationError(model='MetagameEvent', errors=[{'loc': ('experience_bonus',), 'msg': 'value is not a valid integer', 'type': 'type_error.integer'}])>
This being an error is of no benefit to the user as this is due to a model mismatch in the library and cannot be fixed by the user.
Instead, we should ignore these payloads with a warning and ask the user to submit an issue so the model can be fixed.
When pydantic encounters an invalid payload, the following exception is raised (example taken from #50):
This being an error is of no benefit to the user as this is due to a model mismatch in the library and cannot be fixed by the user. Instead, we should ignore these payloads with a warning and ask the user to submit an issue so the model can be fixed.