Add ManagedType/SupportNull and extend value types#415
Merged
masesdevelopers merged 19 commits intomasterfrom Feb 18, 2026
Merged
Add ManagedType/SupportNull and extend value types#415masesdevelopers merged 19 commits intomasterfrom
masesdevelopers merged 19 commits intomasterfrom
Conversation
Introduce managed-type metadata and broaden supported primitive types across Avro and Protobuf serializers. - Avro: added documentation and new fields (ManagedType, SupportNull) to AvroValueContainer.avsc and AvroKeyContainer.avsc; regenerated Avro classes and PropertyDataRecord with updated schema and generated-code version. - Runtime: AvroValueContainer.cs now maps various CLR types (Guid, DateTime, DateTimeOffset, char, sbyte, ushort, uint, ulong, decimal) to string-compatible storage, records ManagedType and SupportNull in PropertyDataRecord, and converts stored string values back to native types when rebuilding entity arrays. Also added CultureInfo usage and minor debug define change. - Protobuf: extended GenericValue (proto and generated code) with additional oneof variants (char, sbyte, ushort, uint, ulong, decimal) and two metadata fields (ManagedType, SupportNull); adjusted field numbers, serialization/deserialization, equality/hash, cloning, and GeneratedClrTypeInfo accordingly. - Tests: added/updated complex benchmark/test JSON configs and touched test project/Program to accommodate changes. These changes enable richer type fidelity and nullability handling in KEFCore serialization across Avro and Protobuf formats.
…, specific properties moved on workflows/build.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Introduce managed-type metadata and broaden supported primitive types across Avro and Protobuf serializers.
These changes enable richer type fidelity and nullability handling in KEFCore serialization across Avro and Protobuf formats.
Related Issue
closed #410
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: