hyperledger-iroha / iroha

Iroha - A simple, enterprise-grade decentralized ledger
https://wiki.hyperledger.org/display/iroha
Apache License 2.0
443 stars 277 forks source link

feat(macros): Implement a derive-where-like macro for serde #5220

Closed DCNick3 closed 2 weeks ago

DCNick3 commented 3 weeks ago

Context

Needed for me to finish integrating query projections (#5063) into the iroha codebase.

Completes the second part of and closes #5130.

Solution

A macro with a syntax similar to derive-where that emits the #[serde(bounds(...))] attributes


Review notes

Checklist