Skip to content

Fix bytes in proto and replace with struct fields in appmaker and dbmaker grpc files, and regenerate grpc files #307

@gqvz

Description

@gqvz

Currently many routes in gasper send and receive json converted to bytes, this undermines the purpose of protobufs.

Protobuf is known for its compact binary format and efficient serialization/deserialization, leading to faster data exchange and reduced bandwidth usage.

The spec just says that Request and Response are "bytes". So the spec doesnt specify anything really. If anyone has to implement the functions, they will have to check the source code what field exist in the structs and deserialize it.

We should specify the structs in the spec, and use the autogenerated structs in the code. This would specifypec doesnt specify anything really. If anyone has to implement the functions, they will have to check the source code what field exist in the structs and deserialize it.

We should specify the structs in the spec, and use the autogenerated structs in the code. Since appmaker is also almost done and application struct would not change much, fixing this would help very much with the speed and easy of use.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions