fsprojects / FSharp.AWS.DynamoDB

F# wrapper API for AWS DynamoDB
MIT License
58 stars 18 forks source link

Removed regex validation on attribute names #33

Closed samritchie closed 3 years ago

samritchie commented 3 years ago

There don't appear to be any AWS limits on the characters used in Dynamo attribute names, so I’ve removed the regex. Unsure if there was another reason this was there.

I’ve added length validation (> 1 character, < 64k for attributes, < 255 characters for key attributes) assessed against the utf8-encoded length of the name.