//
//  UnavailableItems.swift
//  Swinject
//
//  Created by Yoichi Tagaya on 11/30/16.
//  Copyright © 2016 Swinject Contributors. All rights reserved.
//

// MARK: For auto migration from Swinject v1 to v2.
extension ObjectScope {
    @available(*, unavailable, renamed: "transient")
    public static let none = transient
    
    @available(*, unavailable, renamed: "container")
    public static let hierarchy = container
}

@available(*, unavailable, renamed: "Resolver")
public protocol ResolverType { }

@available(*, unavailable, renamed: "Assembly")
public protocol AssemblyType { }

@available(*, unavailable, renamed: "ServiceKeyOption")
public protocol ServiceKeyOptionType { }

//
//  UnavailableItems.swift
//  Swinject
//
//  Created by Yoichi Tagaya on 11/30/16.
//  Copyright © 2016 Swinject Contributors. All rights reserved.
//

// MARK: For auto migration from Swinject v1 to v2.
extension ObjectScope {
    @available(*, unavailable, renamed: "transient")
    public static let none = transient
    
    @available(*, unavailable, renamed: "container")
    public static let hierarchy = container
}

@available(*, unavailable, renamed: "Resolver")
public protocol ResolverType { }

--- 
+++ 
@@ -17,3 +17,9 @@
 
 @available(*, unavailable, renamed: "Resolver")
 public protocol ResolverType { }
+
+@available(*, unavailable, renamed: "Assembly")
+public protocol AssemblyType { }
+
+@available(*, unavailable, renamed: "ServiceKeyOption")
+public protocol ServiceKeyOptionType { }
Add unavailability annotations for renamed protocols
