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

Add doc comment on generated inline properties struct #1775

Merged
merged 1 commit into from Jan 2, 2024

Conversation

hampuslidin
Copy link
Contributor

Adds a doc comment to the derived properties struct generated from the inline arguments of the component.

This prevents the missing_docs lint to trigger if that is setup for a project (for instance, a CI might prevent progress by denying all lint warnings). This could probably be extended to provide custom doc comments to the struct, or use the doc comment of the component function, but I didn't see the need for that, as this PR will include a link to the original component function in the docs for further info.

Copy link
Member

@ealmloff ealmloff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ealmloff ealmloff merged commit 8230566 into DioxusLabs:master Jan 2, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants