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

[retrofit_generator] In Generated Files unused_element_parameter is missing in ignore_for_file #742

Open
maui87 opened this issue Feb 13, 2025 · 0 comments

Comments

@maui87
Copy link

maui87 commented Feb 13, 2025

Describe the bug
In newer versions of dart the linter warns about unused_element_parameter.
I use swagger parser which use retrofit to generate the client code.
Without adding the flag to the ignore every unused element parameter ends in a warning.
So if there is no side effect, I would propose to add the flag to the ignore_for_file
I hope I'm correct, that this is a retrofit issue and not a swagger parser issue

To Reproduce
update to newest dart/flutter version and generate code (can confirm it with swagger parser only right now)

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

No branches or pull requests

1 participant