AbstractSDK / cw-orchestrator

All-in-one Rust-based CosmWasm testing, scripting, and deployment tool.
https://orchestrator.abstract.money
GNU General Public License v3.0
75 stars 17 forks source link

Added better support for generic return types #436

Closed Kayanski closed 1 month ago

Kayanski commented 1 month ago

This PR aims at fixing derives for functions with generics and cw_serde in query returns

Checklist

cloudflare-pages[bot] commented 1 month ago

Deploying cw-orchestrator with  Cloudflare Pages  Cloudflare Pages

Latest commit: 874bfe3
Status:⚡️  Build in progress...

View logs

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 55.3%. Comparing base (9ceb095) to head (67af5b0). Report is 1 commits behind head on main.

:exclamation: Current head 67af5b0 differs from pull request most recent head 874bfe3

Please upload reports for the commit 874bfe3 to get more accurate results.

Additional details and impacted files | [Files](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/436?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK) | Coverage Δ | | |---|---|---| | [contracts/mock\_contract/src/lib.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/436?src=pr&el=tree&filepath=contracts%2Fmock_contract%2Fsrc%2Flib.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-Y29udHJhY3RzL21vY2tfY29udHJhY3Qvc3JjL2xpYi5ycw==) | `97.9% <100.0%> (+<0.1%)` | :arrow_up: | | [contracts/mock\_contract\_u64/src/lib.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/436?src=pr&el=tree&filepath=contracts%2Fmock_contract_u64%2Fsrc%2Flib.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-Y29udHJhY3RzL21vY2tfY29udHJhY3RfdTY0L3NyYy9saWIucnM=) | `82.7% <100.0%> (ø)` | | | [...ckages/macros/cw-orch-fns-derive/src/fns\_derive.rs](https://app.codecov.io/gh/AbstractSDK/cw-orchestrator/pull/436?src=pr&el=tree&filepath=packages%2Fmacros%2Fcw-orch-fns-derive%2Fsrc%2Ffns_derive.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=AbstractSDK#diff-cGFja2FnZXMvbWFjcm9zL2N3LW9yY2gtZm5zLWRlcml2ZS9zcmMvZm5zX2Rlcml2ZS5ycw==) | `100.0% <100.0%> (ø)` | |