Skip to content
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

Support const generics in #[derive(Properties)] #1978

Merged
merged 2 commits into from
Jul 31, 2021

Conversation

maciejhirsz
Copy link
Contributor

Description

Adds support for deriving Properties on a struct with const generics.

Decided to use an ArrayVec in my props and run into this on my second day using Yew, turned out to be fairly straightforward fix.

Checklist

  • I have run cargo make pr-flow
  • I have reviewed my own code
  • I have added tests

@siku2 siku2 merged commit 4755029 into yewstack:master Jul 31, 2021
@maciejhirsz maciejhirsz deleted the const-generic-props branch August 1, 2021 08:38
@voidpumpkin voidpumpkin added the A-yew-macro Area: The yew-macro crate label Nov 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-yew-macro Area: The yew-macro crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants