No way to print out the actual value of a KeyPath?

If you have a KeyPath, and want to know what the actual value of the key path is at run time, there appears to be no way to do this. There is no API to query the name of the key path, and if you try to print one, you get something like this:

Swift.ReferenceWritableKeyPath<Wild_Fire.WFFeedCategory, Swift.Optional<__C.NSNumber>>

Is there a way to do this?


1 Like