Skip to content

Respect field visibility in store derive#5425

Draft
ealmloff wants to merge 2 commits intoDioxusLabs:mainfrom
ealmloff:store-private
Draft

Respect field visibility in store derive#5425
ealmloff wants to merge 2 commits intoDioxusLabs:mainfrom
ealmloff:store-private

Conversation

@ealmloff
Copy link
Copy Markdown
Member

When you derive store on a public struct with private fields, those private fields get added to the public trait. This PR changes the behavior to generate a separate private trait instead

@ealmloff ealmloff added the breaking This is a breaking change label Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking This is a breaking change stores

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant