dvsekhvalnov / jose-jwt

Ultimate Javascript Object Signing and Encryption (JOSE), JSON Web Token (JWT) and Json Web Keys (JWK) Implementation for .NET and .NET Core
MIT License
921 stars 183 forks source link

Kinda weird code in the library #224

Closed Smoovsky closed 3 months ago

Smoovsky commented 1 year ago

Code

Both mappers are null by default, but a null reference exception will be thrown for sure if they are null.

Smoovsky commented 1 year ago

I made a PR #225 . Thanks.

dvsekhvalnov commented 1 year ago

Yeah, indeed, let me think why i did it :)