-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Don't generate serializers for foreign types in Orleans.Streaming.EventHubs #4487
Conversation
|
||
[assembly: InternalsVisibleTo("ServiceBus.Tests")] | ||
|
||
[assembly: KnownAssembly(typeof(EventHubSequenceTokenV2), TreatTypesAsSerializable = true)] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is a serializer generated for EventHubSequenceTokenV2? It's not used in any grain interfaces. That's why it was previously marked with the GenerateSerializer attribute
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's marked as [Serializable]
@jason-bragg I added EDIT: oh, I see the issue: that type has a hand-coded serializer, so no serializer will be generated for it (correct behavior). I'll add the attribute to another type. |
159d2c4
to
e5a4af3
Compare
@dotnet-bot test functional please |
…ntHubs (dotnet#4487) * Don't generate serializers for foreign types in Orleans.Streaming.EventHubs * Add GenerateSerializer(typeof(EventHubSequenceToken))
…ntHubs (#4487) * Don't generate serializers for foreign types in Orleans.Streaming.EventHubs * Add GenerateSerializer(typeof(EventHubSequenceToken))
No description provided.