Skip to content

Adding declarative recipes to a Recipe#getRecipeList #4351

Answered by timtebeek
crankydillo asked this question in Q&A
Discussion options

You must be logged in to vote

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 or DeclarativeRecipe 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.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@crankydillo
Comment options

@timtebeek
Comment options

@crankydillo
Comment options

@timtebeek
Comment options

@crankydillo
Comment options

Answer selected by timtebeek
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