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

Draft event support #21

Open
bvincent opened this issue Jun 29, 2022 · 3 comments
Open

Draft event support #21

bvincent opened this issue Jun 29, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@bvincent
Copy link

bvincent commented Jun 29, 2022

Hello,

I am developing an application using CAP in typescript. First, I really appreciate your works, that will speed up development and improve readability of handler.

This issue is more a question, It is planned to support specific draft event provided by CAP ?

Thanks in advance,

Ben

@HeneryHawk HeneryHawk added the enhancement New feature or request label Jul 10, 2022
@HeneryHawk
Copy link
Collaborator

Hi @bvincent

currently we do not have this planned, but we are looking into the requirement.

Regards
Simon

@bvincent
Copy link
Author

Hello @HeneryHawk,

Thanks for your reply, I found a more complete link which lists all draft event provided by cap.

Regards,

Benoit

@alumni
Copy link

alumni commented Oct 20, 2022

I'm thinking we could use some more generic decorators, i.e. @Before, @After and @On that would just map to Service#before, Service#after and Service#on until draft event decorators are properly implemented. This would allow using wildcards too (although I agree middleware is better than the '*' event wildcard).

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

No branches or pull requests

3 participants