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

Remove generic type constraints from IEventFilter and IRequestFilter #100

Closed
JonasSamuelsson opened this issue Aug 24, 2020 · 0 comments
Closed

Comments

@JonasSamuelsson
Copy link
Owner

JonasSamuelsson commented Aug 24, 2020

With the current implementations filters apply to all or one event or request.

Make it possible to target a subset of events, requests or responses by removing the generic type constraints from IEventFilter and IRequestFilter.

@JonasSamuelsson JonasSamuelsson added this to the mediator v10 milestone Aug 25, 2020
@JonasSamuelsson JonasSamuelsson changed the title Look in to adding co/contra-variance to I[Event/Request][Filter/Handler] and friends add co/contra-variance to event & request filters Aug 28, 2020
@JonasSamuelsson JonasSamuelsson changed the title add co/contra-variance to event & request filters add event & request filter contravariance Aug 28, 2020
JonasSamuelsson pushed a commit that referenced this issue Aug 29, 2020
JonasSamuelsson pushed a commit that referenced this issue Sep 1, 2020
…e & updated the event filter type constraint test

#100
@JonasSamuelsson JonasSamuelsson changed the title add event & request filter contravariance Remove generic type constraints from IEventFilter and IRequestFilter Sep 1, 2020
JonasSamuelsson pushed a commit that referenced this issue Sep 20, 2020
JonasSamuelsson pushed a commit that referenced this issue Sep 20, 2020
…e & updated the event filter type constraint test

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

No branches or pull requests

1 participant