iroha icon indicating copy to clipboard operation
iroha copied to clipboard

[suggestion] Make `Action` and `Filter` non-generic

Open DCNick3 opened this issue 2 years ago • 0 comments

Action and Filter are currently generic over a type of filter they use. This is used in iroha_core to split event triggers for events coming from different sources.

This is iroha_core an implementation detail that makes iroha_data_model harder to understand for the user.

Action should have a concrete event filter type specified and iroha_core should have its own types for the specialized event filters which would not be exposed to the user.

DCNick3 avatar Feb 06 '24 13:02 DCNick3