```E Exception: No installed QueryRules can ...
# plugins
f
Copy code
E       Exception: No installed QueryRules can compute WrappedTarget given input Params(str), but it can be produced using:
E         Params(Address)
I already have
QueryRule(WrappedTarget, (Address,)),
in the
RuleRunner
setup and my code goes from
Address
to
WrappedTarget
, unclear where
Params(str)
is coming from, maybe not my plugin’s rules?
h
check your call to
rule_runner.request(WrappedTarget)
- it’s likely you’re not passing an
Address
like you may be thinking (Or is this not test code?)
f
The integration test code does not request WrappedTarget.
ah it is
go_binary_target = rule_runner.get_target(":bin")
needs to be an Address
👍 1
🤦
helps if I run
./pants typecheck
h
(that will be
Address("", target_name="bin")
)