Uploaded image for project: 'Swift Driver'
  1. Swift Driver
  2. SWIFT-275

Move Document conformance to ExpressibleByDictionaryLiteral and ExpressibleByArrayLiteral into extensions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.0.8
    • Component/s: None
    • Labels:

      Description

      For all other protocols Document conforms to, we declare conformance via extension. We should do the same for these.

      the reason we didn't initially was that classes must have protocol-required initializers in their declarations, and Document used to be a class. 

      now that it is a struct, it's cleaner and more consistent to move these out to extensions.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              patrick.freed Patrick Freed
              Reporter:
              kaitlin.mahar Kaitlin Mahar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: