More options (#5)

* update generator and tests

* Add ImplementationOptions

* option tests

* fix some tests

* UseExtendedInterfaces with flag enum parsing

* add test for using base interfaces instead of interface

* add ProxyForBaseInterface

* add extra overload

* don't put new if we're replacing interfaces

* really remove AutoMapper

* remove akka and fix up interface

* Bigger bump for version

* adjust readme
This commit is contained in:
Adam Hathcock
2024-05-24 13:16:14 +01:00
committed by GitHub
parent 622f361de5
commit 6391515c19
77 changed files with 868 additions and 278 deletions
@@ -1,8 +1,9 @@
using System.Net.Http;
using Speckle.ProxyGenerator;
namespace ProxyInterfaceConsumer.Http;
[Speckle.ProxyGenerator.Proxy(typeof(HttpClient), true)]
[Speckle.ProxyGenerator.Proxy(typeof(HttpClient), ImplementationOptions.ProxyBaseClasses)]
public partial interface IHttpClient : IHttpMessageInvoker { }
[Speckle.ProxyGenerator.Proxy(typeof(HttpMessageInvoker))]