Uploaded image for project: 'RChain'
  1. RCHAIN-2928

Either type for protobufs + usage in all existing API calls

    Details

    • Type: Story
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects versions: None
    • Fix versions: RNode-0.8.4
    • Components: Node
    • Labels:
      None
    • Sprint:
      Sprint 25, Sprint 24
    • Story Points:
      8

      Description

      Instead of signalling errors inside of response messages use the Either type. Use the grpc Either message in DeployGrpcService to send the API Either over the wire to the client. Use grpc Either helpers to reassemble the API Either response. Change DeployRuntime accordingly.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                sebastian Sebastian Bach
                Reporter:
                pawel.szulc Pawel Szulc
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: