hyperledger / hyperledger/fabric-protos
[nodebinding] missing FromOject alternative
Open
- Dominant language
- Protocol Buffer
- Stars
- 43
- Forks
- 75
- Avg merge
- 16h 55m
- Merged PRs (30d)
- 5
Description
**I want** a way to transform a javascript object(or json) to a protobuf binary without set attribute mannually to align schema.
We have found a simple way to do so when using `fabric-protos`, which depended on protobufjs
```
typeObject.encode(JSObject).finish()
```
where the typeObject is the type constructor or type itself such as gateway.EvaluateRequest
Now I wonder if we can have similar clean solution now in `@hyperledger/fabric-protos`.
Contributor guide
Assessment
This issue has not been assessed yet.