Open
Description
Hi,
I've tried to declare my generics type in known types but with no luck.
First I've tried that way:
public class KnownTypesProvider : IKnownTypesProvider {
private static List<Type> _knownTypes = new List<Type> {
typeof(Akka.Persistence.Persistent),
typeof(Event<>)
};
public IEnumerable<Type> GetKnownTypes() => _knownTypes;
}
But I got an exception on startup. So I've changed to:
public class KnownTypesProvider : IKnownTypesProvider {
private static List<Type> _knownTypes = new List<Type> {
typeof(Akka.Persistence.Persistent),
typeof(Event<TokenCreated>)
};
public IEnumerable<Type> GetKnownTypes() => _knownTypes;
}
Now my app are running but type manifest still be written . Is there any limitation about generics or I missed something?