-
-
Notifications
You must be signed in to change notification settings - Fork 69
Closed
Labels
state:wont-fixWon’t be fixed with a clearly stated reasonWon’t be fixed with a clearly stated reasontype:questionSupport or code-level questionSupport or code-level question
Description
In a recent version of the SDK, AnyCodable
(and the En/Decodable versions) were changed from public to internal. Our project used AnyDecodable
as part of a Cloud code return value:
struct CheckUserStatusCloudFunction: ParseCloud {
typealias ReturnType = [String: AnyDecodable]
var functionJobName = "checkUserStatus"
var platform = "ios"
var appIdentifier: String
}
The server returns a dictionary where the keys are all strings, and the values are various codable values like string, bool, int, etc. Normally we would create a struct to contain the results, but this specific functionality needs to be generic and could be used by different apps and the result may have different keys so it can't be statically typed in that way.
I can just add my own version of AnyCodable to the project, but this seems like a lot of duplication for something that already exists in the project. Can this be made public again?
Metadata
Metadata
Assignees
Labels
state:wont-fixWon’t be fixed with a clearly stated reasonWon’t be fixed with a clearly stated reasontype:questionSupport or code-level questionSupport or code-level question