Altinn / altinn-notifications

Altinn platform microservice for handling notifications (mail, sms, etc)
MIT License
3 stars 3 forks source link

Better validation of notification orders #474

Closed martinothamar closed 4 months ago

martinothamar commented 5 months ago

Description

Implements validation of more order fields based on constraints from downstream providers. I came across this since I was wondering what the input constraints was when developing the SMS client in apps

Related Issue(s)

N/A

Verification

Documentation

martinothamar commented 5 months ago

Btw I had to comment the line endings config in .editorconfig to avoid a huge diff. My editor is trying to adhere to line endings config but the actual files I touched are LF it seems

martinothamar commented 5 months ago

@acn-sbuad since this would be a breaking change I'm not sure if this is something you want. But I think a change like this is good because

If we do something like this, we should document the limits as well