CosmWasm / sylvia

CosmWasm smart contract framework
Apache License 2.0
96 stars 16 forks source link

Implement the #[custom(query=CustomQuery)] attribute on the interface level #204

Closed jawoznia closed 1 year ago

jawoznia commented 1 year ago

If the #[custom(query=CustomQuery)] attribute occurs on the interface trait, the Deps<CustomQuery> argument should be expected by the message dispatcher. If this and QueryC associated type happens to exist on the trait, the #[custom(...)] has precedence.

jawoznia commented 1 year ago

Delivered under #202