nclient / NClient

:dizzy: NClient is an automatic type-safe .Net HTTP client that allows you to call web service API methods using annotated interfaces or controllers without boilerplate code.
Apache License 2.0
43 stars 11 forks source link

Add client type validation #426

Closed smolchanovsky closed 2 years ago

smolchanovsky commented 2 years ago

Clients can be created using interface types, not classes. Thus, it is necessary to check that the generic parameter is an interface.

Kingmidas74 commented 2 years ago

Some description is required. What issue has been fixed?

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication