iroha icon indicating copy to clipboard operation
iroha copied to clipboard

Automatically infer `id` attribute for `derive(IdOrdEqHash)`

Open ilchu opened this issue 2 years ago • 0 comments

Feature request

Currently the IdOrdEqHash derive macro from #2476 requires an additional id attribute to be passed with the Id associated type for its Identifiable implementation. Instead, the type of the field could be inferred without attributes.

Motivation

Even less manual work for us.

Who can help?

No response

ilchu avatar Jul 22 '22 13:07 ilchu