Skip to content
Discussion options

You must be logged in to vote

Are you using the debugger or code coverage already to see which parts of your recipe execute? Because it sounds like there might be an early return that's throwing you off.

And more in general I can say a template like public #{any()} #{}(#{any()} param) { return null; } is not recommended; we see that more often with folks starting out that they want to over generalize use cases and put large parts of their recipe into declarative yaml. Instead aim to write specific recipes for the cases you're after, with templates that already contain the types you're intending to use, and you should have a much better experience. Hope that helps!

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@qianwenqing2812
Comment options

@qianwenqing2812
Comment options

@qianwenqing2812
Comment options

@timtebeek
Comment options

Answer selected by qianwenqing2812
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants