Skip to content

Conversation

@derstpal
Copy link

@derstpal derstpal commented Nov 5, 2025

Hello,

We are using a Plugin pattern for our dotnet application. Each plugin can use its own GRPC contract in isolation. The contract is loaded inside an AssemblyLoadContext. Plugins also share some common dependencies like protobuf-net.Grpc

When we Create a proxy on a same contract but loaded from different ALCs, we have various Reflection Type exceptions.
This PR contains a fix for this case and remain compatible on one default ALC and also other targetted frameworks.

Some docs:
Contextual Reflection

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.

1 participant