Adding declarative recipes to a Recipe#getRecipeList #4351
-
For various reasons, I need to use an imperative recipe that ultimately returns a |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Do I understand correctly that these recipes exclusively exist in local declarative recipes? As in they are not references to regular recipes with a constructor you might call instead? Then indeed the workaround through I don't see this being any easier using the underlying And please note you're also welcome to ask questions on our Slack; that typically gets a faster response. |
Beta Was this translation helpful? Give feedback.
Do I understand correctly that these recipes exclusively exist in local declarative recipes? As in they are not references to regular recipes with a constructor you might call instead?
Then indeed the workaround through
Environment
that you've listed might be the only good way to go about this.I don't see this being any easier using the underlying
YamlResourceLoader
orDeclarativeRecipe
classes themselves. You might be interested to learn of this new effort, but unless we add a declarative look up there it's not of much use to you here.And please note you're also welcome to ask questions on our Slack; that typically gets a faster response.