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

Can subscriptions have middleware #188

Open
nrbnlulu opened this issue Jan 4, 2023 · 2 comments
Open

Can subscriptions have middleware #188

nrbnlulu opened this issue Jan 4, 2023 · 2 comments
Assignees
Labels
feature Feature request
Milestone

Comments

@nrbnlulu
Copy link

nrbnlulu commented Jan 4, 2023

In execute you can pass a MiddlewareManager is there an alternative for subscribe?
I want to run code before a resolver is called.

@Cito
Copy link
Member

Cito commented Jan 4, 2023

This is currently not supported, but you can probably use a custom execution context as a workaround.

I will try to get this as a new feature into the next version. Maybe you can post a small example code how you expect it to work which I can then use as the basis for unit testing the feature.

@Cito Cito self-assigned this Jan 4, 2023
@Cito Cito added the feature Feature request label Jan 4, 2023
@Cito Cito added this to the v3.3 milestone Jan 4, 2023
@nrbnlulu
Copy link
Author

nrbnlulu commented Jan 6, 2023

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

No branches or pull requests

2 participants