Use `reifyInstances` in `AsRPC`
Clarification and motivation
There is a TODO in Morley.Client.RPC.AsRPC
which says the following:
TODO: use `reifyInstances` to check that 'AsRPC' exists for `fieldType`
Print user-friendly error msg if it doesn't.
Since we added an unresolved TODO checker to danger
, we need a separate gitlab
issue task for this purpose.
Acceptance criteria
-
reifyInstances
is used to checkAsRPC
instance existence for thefieldType
- user-friendly error message is printed if it doesn't