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

Ignore unrelated attributes #21

Merged
merged 1 commit into from
Feb 8, 2023

Conversation

cschramm
Copy link
Contributor

One might want to use unrelated attributes like allow on the struct that need to be ignored by the proc macro to not cause errors.

The use of yaserde in the tests seems to be a mistake that worked because the macro happily accepts any attribute it encounters.

One might want to use unrelated attributes like `allow` on the struct that need to be ignored by the proc macro to not cause errors.
@MarcAntoine-Arnaud MarcAntoine-Arnaud changed the base branch from master to main February 8, 2023 02:29
@MarcAntoine-Arnaud MarcAntoine-Arnaud merged commit 11a57b3 into media-io:main Feb 8, 2023
@cschramm cschramm deleted the attribute-filter branch February 8, 2023 07:36
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.

2 participants