edjCase / JsonRpc

Json Rpc Router for Asp.Net Core
MIT License
141 stars 42 forks source link

add paramters names comparing by utils #79

Closed 2m0nd closed 4 years ago

2m0nd commented 4 years ago

Use paramters name comparer helper such as method name comparer. Add test cases camelCase, snake_case, any-case. Please review this code and publish new version to nuget repositry.

2m0nd commented 4 years ago

Hi, sorry, i think travis execute nunit test. I fix order parametrs in method RpcParameterUtil.TypesCompatible, set 1 - value in code, 2 - value in request such as in method RpcUtil.NamesMatch.

Gekctek commented 4 years ago

Thanks for the PR v4.0.5 on nuget https://www.nuget.org/packages/EdjCase.JsonRpc.Router/4.0.5