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

Allow most things to be unused #22

Merged
merged 1 commit into from
Feb 20, 2016
Merged

Conversation

shaladdle
Copy link
Collaborator

I noticed that I there was a painfully high number of warnings from the generated items if you don't use them right away. Even if you do use some of them, you might want to use just Client or AsyncClient, and currently you'll get warnings for the one you don't use.

@tikue
Copy link
Collaborator

tikue commented Feb 20, 2016

I don't love this solution, but I think the current alternative is worse. Perhaps we should consider expanding the macro at some point to allow opting out of certain things, like AsyncClient and Future, or even just creating a Server XOR Client.

tikue added a commit that referenced this pull request Feb 20, 2016
Allow most things to be unused
@tikue tikue merged commit 3923534 into google:master Feb 20, 2016
@tikue
Copy link
Collaborator

tikue commented Feb 20, 2016

(Of course, that doesn't solve the awful first-use experience you'll face from the unused warnings)

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