-
Hi, I am confused about the implementation of the IIdentityController. In the interface [HttpPost] Implementation (IdentityController)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
For methods where the server-side and client-side signatures cannot perfectly match for any reason, we utilize the C# 8 default interface implementation feature. You'll notice Keep in mind that the actual implementation of the interface is not the API Controller but rather the automatically generated HTTP proxy class, which is created using Bit.SourceGenerators. Feel free to reach out if you have any further questions! |
Beta Was this translation helpful? Give feedback.
For methods where the server-side and client-side signatures cannot perfectly match for any reason, we utilize the C# 8 default interface implementation feature.
You'll notice
=> default!;
at the end of the interface method.Keep in mind that the actual implementation of the interface is not the API Controller but rather the automatically generated HTTP proxy class, which is created using Bit.SourceGenerators.
Feel free to reach out if you have any further questions!