wwwlicious / servicestack-discovery-consul

ServiceStack Plugin for Service Discovery using Consul.io
Other
64 stars 13 forks source link

Update client autowiring to support untyped send api's #3

Closed wwwlicious closed 6 years ago

wwwlicious commented 8 years ago

The IVerb interface can now be used on requests and will be used on the Send api's if available.

also add support for the untyped auto-routing convention on the send api's.

wwwlicious commented 8 years ago

not sure if this is still relevant, given the introduction of the IServiceGateway.

Need to check how dto's with multiple verbs are handled, i.e. can Gateway.Send know when it should POST vs DELETE if a dto has both of these as RouteAttributes?

wwwlicious commented 6 years ago

IVerb interface markers should be used for all DTO's in line with ServiceStack's ServiceGateway guidelines. If not specified, the default verb is POST.