Skip to content

Add client factory to client linker test app #1972

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

Merged
merged 2 commits into from
Jan 4, 2023

Conversation

JamesNK
Copy link
Member

@JamesNK JamesNK commented Dec 7, 2022

Verify #1970 in tests.

cc @Blackclaws

Verified

This commit was signed with the committer’s verified signature.
JamesNK James Newton-King
@Blackclaws
Copy link
Contributor

You should specify the Grpc.Net.ClientFactory assembly as a trimmer root so that it will actually traverse all methods even those not called by any test code. That's also what the official docs recommend you should do to test a library for trim problems.

Verified

This commit was signed with the committer’s verified signature.
JamesNK James Newton-King
@JamesNK JamesNK merged commit 3a356b3 into grpc:master Jan 4, 2023
@JamesNK JamesNK deleted the jamesnk/clientfactory-trimming-client branch January 4, 2023 23:04
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

3 participants