Hankintailmoitukset / hilma-api

11 stars 0 forks source link

Function ValidateBT644() #155

Closed eduardsmirnov closed 1 year ago

eduardsmirnov commented 1 year ago

Function ValidateBT644() in NoticeValidator.cs is not clear

exttuosa commented 1 year ago

This along with other similar validations with X amount of nines are placeholders for the actual limit that is still unfortunately unknown. These will be updated as soon as we know the limits.

This particular case will likely be javascript's max safe int (9007199254740991). And you are right, there is a mistype in the error message.