Sometimes we have content that is not valid (for example, someone puts as plugin id 9619, trailing space).
Currently backend just saves, without questioning.
Should we add some kind of validation?
If yes, what should do it, another microservice, serlo-bot, or just a helper function in db-layer/api?
Sometimes we have content that is not valid (for example, someone puts as plugin id
9619
, trailing space). Currently backend just saves, without questioning. Should we add some kind of validation? If yes, what should do it, another microservice, serlo-bot, or just a helper function in db-layer/api?