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

Add typed CakeTaskBuilder / TaskOf<T>() to easier work with typed data context #4047

Closed
devlead opened this issue Nov 4, 2022 · 1 comment · Fixed by #4048
Closed

Add typed CakeTaskBuilder / TaskOf<T>() to easier work with typed data context #4047

devlead opened this issue Nov 4, 2022 · 1 comment · Fixed by #4048
Labels
Milestone

Comments

@devlead
Copy link
Member

devlead commented Nov 4, 2022

When working with typed data context it's sometimes cumbersome to specify type parameters for all task building methods i.e. WithCriteria<T>, Does<T>, DoesForeEach<T>, etc. introducing a TaskOf<T> & CakeTaskBuilder<T> would simplify this by inferring the type used for typed data context.

@devlead devlead added this to the v3.0.0 milestone Nov 4, 2022
devlead added a commit to devlead/cake that referenced this issue Nov 4, 2022
devlead added a commit to devlead/cake that referenced this issue Nov 7, 2022
devlead added a commit that referenced this issue Nov 7, 2022
GH4046/GH4047: Add Finally<T> & TaskOf<T>
@cake-build-bot
Copy link

🎉 This issue has been resolved in version v3.0.0 🎉

The release is available on:

Your GitReleaseManager bot 📦🚀

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

Successfully merging a pull request may close this issue.

2 participants