class-validator icon indicating copy to clipboard operation
class-validator copied to clipboard

feat: Added a ISO639-1 decorator

Open Gustrb opened this issue 2 years ago • 5 comments

This decorator is used to check if a string matches the ISO 639-1, that describes how country languages prefixes should look like. Fortunatelly, it just delegates the validation to an already existent function in the validator library

This PR implements issue #2045

Gustrb avatar Apr 15 '23 17:04 Gustrb

It would be great if you could update the README.md as well! Please add a test.

ytetsuro avatar Apr 22 '23 12:04 ytetsuro

@Gustrb Any update on your PR? This looks like a nice addition 😊

te-online avatar Apr 26 '24 18:04 te-online

@te-online, I kind of forgot about it. I added here since I needed this function inside the library, but I hacked my way into it a few months ago

Will work on adding some tests and fixing the comments pointed out :P

Gustrb avatar Apr 30 '24 11:04 Gustrb

any updates on this PR ?

mohamedelbalshy avatar Aug 16 '24 19:08 mohamedelbalshy