- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 7
 
Description
gRPC's default serializer and relies on code generation.
Initially we should support setting the model argument of the Property, or the payload schema for both actions and events. From what I understand, finally, the user should create the objects defined in the .proto file and pass those objects as the property, action or event value.
From the serializer side, these objects are picked up and dumped into binary by the serializer. A little bit like pydantic or msgspec except the code generation part.
Please note that my charaterizations may not be correct or acurate. Details can be added or removed as necessary.
Rough Steps:
- Define the flow of actions from creating proto files and the code generation (which will most likely follow their existing conventions)
 -  Implement serializer by installing the package, and subclassing from 
BaseSerializer. define dumps, loads andcontent_typeproperty - make the implementation optional - should not be installed by default with the package. Only on use case basis where the user follows instructions to install it.
 - add tests in test_03_serializers.py
 
Any missing information or wrongful info, please feel free to add or correct.
Please fork main-next-release branch and merge it there.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status