Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-5084

Swift: Server-side support for Multiplexing Services

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.14.0
    • Component/s: Swift - Library
    • Labels:

      Description

      The Swift library features TMultiplexedProtocol but not TMultiplexedProcessor, which is required for use server-side.

      I've added TMultiplexedProcessor, following the same patterns as the other language libraries. I've marked this issue as Breaking-Change since it removes the associatedType from the TProcessor protocol. I've removed the associatedType from TProcessor otherwise it makes it impossible for TMultiplexedProcessor to implement TProcessor. By definition it should support processors of multiple services, not a single service.

      I've added tests which require a change to Package.swift to run using swift test.

        Attachments

          Activity

            People

            • Assignee:
              alexanderedge Alexander Edge
              Reporter:
              alexanderedge Alexander Edge

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m

                  Issue deployment