-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Attributes forwarding to message enums and fields #388
Conversation
1c84fe3
to
7a776cf
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #388 +/- ##
==========================================
- Coverage 86.15% 85.83% -0.33%
==========================================
Files 39 40 +1
Lines 2789 2866 +77
==========================================
+ Hits 2403 2460 +57
- Misses 386 406 +20 ☔ View full report in Codecov by Sentry. |
83c408f
to
6dcb758
Compare
6dcb758
to
74cec58
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done. Consider adding test cases with trybuild
to cover the errors.
Also, please update the docs on contract
and interface
macros.
4f0bfdf
to
13650c0
Compare
aa93431
to
00cc2ad
Compare
13650c0
to
1ffb5d2
Compare
1ffb5d2
to
cf75a5d
Compare
cf75a5d
to
d1c24ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please document this attribute in doc comments of contract
macro.
You can do it on separate PR.
LGTM
I've just created a new issue: #390 |
## 🤖 New release * `sylvia`: 1.0.2 -> 1.1.0 * `sylvia-derive`: 1.0.2 -> 1.1.0 <details><summary><i><b>Changelog</b></i></summary><p> ## `sylvia-derive` <blockquote> ## [1.1.0](sylvia-derive-v1.0.2...sylvia-derive-v1.1.0) - 2024-07-12 ### Added - `From` implementation for contract messages of interface messages ([#391](#391)) - Attributes forwarding to message enums and fields ([#388](#388)) - Executors ([#386](#386)) - No ref needed for 'dyn Interface' type in Remote and BoundQuerier ([#382](#382)) - Remove types forwarding to interface in sv::messages ([#361](#361)) ### Other - Update documentation and refactoring ([#393](#393)) - Add trybuild check for two instantiate methods ([#392](#392)) - Update dependecies - Update proc-macro-crate deps </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/MarcoIeni/release-plz/). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Tomasz Kulik <[email protected]>
## 🤖 New release * `sylvia`: 1.0.2 -> 1.1.0 * `sylvia-derive`: 1.0.2 -> 1.1.0 <details><summary><i><b>Changelog</b></i></summary><p> ## `sylvia-derive` <blockquote> ## [1.1.0](CosmWasm/sylvia@sylvia-derive-v1.0.2...sylvia-derive-v1.1.0) - 2024-07-12 ### Added - `From` implementation for contract messages of interface messages ([#391](CosmWasm/sylvia#391)) - Attributes forwarding to message enums and fields ([#388](CosmWasm/sylvia#388)) - Executors ([#386](CosmWasm/sylvia#386)) - No ref needed for 'dyn Interface' type in Remote and BoundQuerier ([#382](CosmWasm/sylvia#382)) - Remove types forwarding to interface in sv::messages ([#361](CosmWasm/sylvia#361)) ### Other - Update documentation and refactoring ([#393](CosmWasm/sylvia#393)) - Add trybuild check for two instantiate methods ([#392](CosmWasm/sylvia#392)) - Update dependecies - Update proc-macro-crate deps </blockquote> </p></details> --- This PR was generated with [release-plz](https://github.com/MarcoIeni/release-plz/). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Tomasz Kulik <[email protected]>
No description provided.