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
I developed a chat app using SwiftUI and the compiler language in Swift5.
When I build the project, an error is shown as below.
error message
key path value type 'AnyJSON' cannot be converted to contextual type 'JSONCodable'
error related code
route(router,
responseDecoder: PresenceResponseDecoder<AnyPresencePayload<AnyJSON>>(),
custom: requestConfig) { result in
completion?(result.map(\.payload.payload))
This error locates at setPresence function.
I will give any future information if needed.
Thanks everyone
The text was updated successfully, but these errors were encountered:
I developed a chat app using SwiftUI and the compiler language in Swift5.
When I build the project, an error is shown as below.
error message
key path value type 'AnyJSON' cannot be converted to contextual type 'JSONCodable'
error related code
This error locates at setPresence function.
I will give any future information if needed.
Thanks everyone
The text was updated successfully, but these errors were encountered: