-
Notifications
You must be signed in to change notification settings - Fork 98
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
Format step method dynamically without parameters #189
Comments
Yes. This is actually something which I also wanted to have myself sometimes :-) |
So basically we need the provider mechanism in the |
I'm working on this. Just need to write tests, the rest is done. @janschaefer Is there a specific reason why this pattern is called |
@nikowitt Would you mind taking a look at the PR to see whether the example I posted there covers what you originally asked for? Just want to make sure the implementation fits the request. Thanks! |
Looks like a flexible solution hat fits the requirements. Thank you! |
Hi Jan,
we've implemented some steps that are within some date ranges like this:
To be able to render the second (today) line, I need to supply the current date as a parameter, but I prefer to have a helper method like today() without having to supply a parameter. With @NestedSteps, this could be wrapped a little bit, but it is only a workaround. So basically I have to be able to have something similar to the CaseDescriptionProvider for step method that allows me to to some coding.
Is this already possible somehow?
Best regards,
Niko
The text was updated successfully, but these errors were encountered: