Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
remove extraneous reflectable method
Browse files Browse the repository at this point in the history
  • Loading branch information
tanner0101 authored May 24, 2018
1 parent fa5054a commit adb75a3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Sources/Core/Reflectable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -134,13 +134,6 @@ public protocol AnyReflectable {
static func anyReflectProperty(valueType: Any.Type, keyPath: AnyKeyPath) throws -> ReflectedProperty?
}

extension Reflectable {
/// Reflects all of this type's `ReflectedProperty`s.
public static func reflectProperties() throws -> [ReflectedProperty] {
return try reflectProperties(depth: 0)
}
}

/// Represents a property on a type that has been reflected using the `Reflectable` protocol.
///
/// let property = try User.reflectProperty(forKey: \.pet.name)
Expand Down

0 comments on commit adb75a3

Please sign in to comment.