Skip to content

ViewEnvironment, for Workflows?! #1368

Answered by rjrjr
zoltish asked this question in Ideas
Jul 13, 2025 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

This comes up a lot. We actually don't want something like ViewEnvironment for the workflow runtime because it's a poor solution for the kinds of problems that are solved very well by DI systems like Metro, Dagger/Anvil or Hilt. An environment approach would encourage creating hard to debug runtime problems that are much better handled at compile time by libraries like those.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@zoltish
Comment options

@rjrjr
Comment options

@zoltish
Comment options

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