We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8811ad6 commit c18bbc3Copy full SHA for c18bbc3
Sources/Graphiti/Definition/Reflection.swift
@@ -4,19 +4,6 @@ public enum Reflection {
4
return description.hasSuffix("Protocol")
5
}
6
7
- @available(*, deprecated, message: "No longer used")
8
- public static func isEncodable(type: Any.Type) -> Bool {
9
- if isProtocol(type: type) {
10
- return true
11
- }
12
-
13
- if let type = type as? Wrapper.Type {
14
- return isEncodable(type: type.wrappedType)
15
16
17
- return type is Encodable.Type
18
19
20
public static func name<Subject>(for instance: Subject) -> String {
21
var typeName: [Character] = []
22
var genericArgument: [Character] = []
0 commit comments