iroha
iroha copied to clipboard
Restrict types of predicates applied to queries depending on the query output type (type-safe queries)
To implement #3671 we would need to add more predicate types like account predicates or asset predicates.
However our current API allows the clients to specify any predicate filter, without any regard to whether the predicate type would be compatible or not.
In the client-facing API we should restrict the types of predicates allowed for a less error-prone API