Skip to content
New issue

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

Extensibility isn't as good as it should be #21

Closed
tomasaschan opened this issue Oct 5, 2017 · 0 comments
Closed

Extensibility isn't as good as it should be #21

tomasaschan opened this issue Oct 5, 2017 · 0 comments
Assignees
Labels

Comments

@tomasaschan
Copy link
Owner

You can't build your own event and dbcontext implementation as intended. With these classes defined,

 public class EventMetadata : IMutableEvent<long, long> { ... }

 public class MyCustomDbContext : DbContext, IEventStoreContext<EventMetadata> { ... }

then EntityFrameworkEventStore<long, long, MyCustomDbContext, EventMetadata> fails to compile because EventMetadata doesn't inherit RdbmsEventStore.EntityFramework.Event<long, long>.

This shouldn't be a requirement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant