I’m calling `graph_session.console.stdin` in a `Bu...
# development
f
I’m calling
graph_session.console.stdin
in a
BuiltinGoal
(context: for BSP support). I am getting this error:
Copy code
Exception: Side-effects are not allowed in this context: SideEffecting types must be acquired via parameters to `@rule`s.
Is there a way to allow side effects with builtin goals? The
Console
is obtained from parameters to the
BuiltinGoal.run
method, and not as a
Param
to a rule.
I can try to work around the issue by using
sys.stdin
directly for now.
w
yea, using
sys.stdin
directly is fine here, iirc. can make note of it though