vlingo-net / xoom-net-actors

Type safe Actor Model toolkit for reactive concurrency and resiliency using C# and other .NET languages.
Mozilla Public License 2.0
39 stars 18 forks source link

ProxyGenerator doesn't include type's full name embedded in the generic type #77

Open tjaskula opened 4 years ago

tjaskula commented 4 years ago

If the parameter is generic (or return type) the concrete generic types should also be prefixed with the namespace.

This is what is actually generated IDispatcher<Dispatchable<T, TState>>

The should have Some.Namespace.IDispatcher<Some.Other.Namespace.Dispatchable<T, TState>> instead

mihaj commented 4 years ago

@tjaskula please give me a concrete example, so I can write some tests.

tjaskula commented 4 years ago

@mihaj I think that if you pull vlingo-net-http and delete the file https://github.com/vlingo-net/vlingo-net-http/blob/0b45c98a07d2890289c44a7e746cef7eaee6b288/src/Vlingo.Http/Resource/Dispatcher__Proxy.cs and run the tests, it will try to recreate the proxy and will fail.