iroha icon indicating copy to clipboard operation
iroha copied to clipboard

Restrict types of predicates applied to queries depending on the query output type (type-safe queries)

Open DCNick3 opened this issue 1 year ago • 0 comments

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

DCNick3 avatar May 08 '24 10:05 DCNick3