happy-kitchen-89482
01/26/2025, 4:31 PM@fromfile
. See https://github.com/pantsbuild/pants/issues/10360 for context. (thread)happy-kitchen-89482
01/26/2025, 4:32 PMhappy-kitchen-89482
01/26/2025, 4:34 PMoptions
crate would have to depend on the top-level engine crate, which in turn depends on basically everything, so I’m not sure that’s even possible.happy-kitchen-89482
01/26/2025, 4:34 PMFromFileReader
trait of some kindhappy-kitchen-89482
01/26/2025, 4:35 PMhappy-kitchen-89482
01/26/2025, 4:35 PMhappy-kitchen-89482
01/26/2025, 4:37 PMmemoized_property
and just recompute every time we read options?happy-kitchen-89482
01/26/2025, 4:37 PMfast-nail-55400
01/26/2025, 7:32 PMfast-nail-55400
01/26/2025, 7:33 PM@memoized_property
, you would .flat_map
(or .and_then
for Rust name for it) the value to derive a new valuefast-nail-55400
01/26/2025, 7:34 PMwitty-crayon-22786
01/27/2025, 6:02 AMwitty-crayon-22786
01/27/2025, 6:02 AMhappy-kitchen-89482
01/27/2025, 4:47 PMwitty-crayon-22786
01/27/2025, 4:48 PMwatch
crate invalidates graph nodes via an interfacewitty-crayon-22786
01/27/2025, 6:13 PMContext
which is passed to some separate options parsing intrinsicfast-nail-55400
01/27/2025, 7:34 PM