hyperledger / iroha

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

Rename `type_` to `type` in `schema.json` #4770

Open mversic opened 1 week ago

mversic commented 1 week ago
          `type` being a reserved Rust token should not affect the schema. If it is still `type_` internally, consider patching `IntoSchema` to support something like `rename` attribute.

_Originally posted by @0x009922 in https://github.com/hyperledger/iroha/pull/4741#discussion_r1651576375_

mversic commented 1 week ago

also consider renaming getter function Asset::type_