Currently, there is no possible way to get an encoder that can encode the pass object and add schema id together. If we had to do it currently it's 2 steps.
- encode function to encode data
- tag_data function to append the schema id.
Purposed approach
Merge these 2 steps into 1 and return only 1 encoder. Which client can use directly.
PS: I would like to raise PR with this feature.
Currently, there is no possible way to get an encoder that can encode the pass object and add schema id together. If we had to do it currently it's 2 steps.
Purposed approach
Merge these 2 steps into 1 and return only 1 encoder. Which client can use directly.
PS: I would like to raise PR with this feature.