You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tonyarnold the PR you referenced there was trying to change the Debuggable protocol to have non-optional stack trace. That would definitely break things. But I think we can fix this issue in Postgres without making any breaking changes.
I think in a future release, making the stack trace property non-optional makes sense (you can always check if it's empty, right?). Thanks for looking into this, @tanner0101 - I appreciate your time and efforts.
postgres-kit/Sources/PostgreSQL/Utilities/PostgreSQLError.swift
Line 28 in 561fa79
As per the original
Core.Debuggable
protocol, this property should return an optional type: https://github.com/vapor/core/blob/18f2436bf7a6bc2224372c0885db2e0159af1649/Sources/Debugging/Debuggable.swift#L31I can't access the contents of this property in use, as the protocol has an extension method that returns
nil
with the correct optionality.The text was updated successfully, but these errors were encountered: