Skip to content
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

add serializer verification utility function for custom serializers #49

Open
4 tasks
VigneshVSV opened this issue Nov 4, 2024 · 0 comments
Open
4 tasks
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@VigneshVSV
Copy link
Owner

VigneshVSV commented Nov 4, 2024

If the users use a custom serializer which is beyond the seriliazation protocols of supplied defaults with this package, a utility function can be provided which can verify if the serializer is a good fit for the RPC message encoding.

In this way, the serializer can be tested before using.

Possible Steps:

  • add a function in utils.py which accepts the serializer as the input
  • pass all the possible RPC messages to the serializer to serializer, preferably even create a simple client server implementation which is started and stopped before and after testing
  • accept an argument for the additional data types which the serializer is capable and test the serializer on them
  • print OK or not OK and what is the error
@VigneshVSV VigneshVSV added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant