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 unused import warning in generated files #37

Closed
wants to merge 1 commit into from

Conversation

davidmigloz
Copy link
Contributor

@davidmigloz davidmigloz commented Nov 9, 2023

pub.dev was complaining that import 'dart:typed_data'; was not used in client.dart. I guess that import is still required in some cases, so I've just ignored that warning.

cc @walsha2

@walsha2
Copy link
Contributor

walsha2 commented Nov 13, 2023

@davidmigloz Closing in favor of #39 - I would prefer to know there is an unused import on a case by case basis. Also, certain specs generate a ton of schemas. I would hate for this unnecessary ignore to be added to all the schema files. #39 scopes this change to only the client, which is a single file.

@davidmigloz
Copy link
Contributor Author

Thanks a better approach indeed. Thanks!

@davidmigloz davidmigloz deleted the unused-files branch November 13, 2023 08:49
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