We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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?
The text was updated successfully, but these errors were encountered:
What exception do you get at startup?
Sorry, something went wrong.
No branches or pull requests
Hi,
I've tried to declare my generics type in known types but with no luck.
First I've tried that way:
But I got an exception on startup. So I've changed to:
Now my app are running but type manifest still be written . Is there any limitation about generics or I missed something?
The text was updated successfully, but these errors were encountered: