Replies: 2 comments 10 replies
-
func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(objectId, forKey: .objectId)
try container.encodeIfPresent(createdAt, forKey: .createdAt)
try container.encodeIfPresent(updatedAt, forKey: .updatedAt)
try container.encodeIfPresent(ACL, forKey: .ACL)
try container.encodeIfPresent(name, forKey: .name)
print("ENCODE TEST - name:", name ?? "nil")
}
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I'm not sure I understand the context of your problem, maybe parse-community/parse-server#8646 and the |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Was there a change in the last update of the server that only sends out the objectId of the object instead of the whole object?
my previous xcode tests where I received the whole object now only returns the objectId of the object and everything else is nil.
I'm trying to figure out if I made a mistake somewhere when I was working with Codable but seems like all my structs are affected.
Am I now only receiving a Pointer to the object I need even though I did all the preprocessing server side?
sample CloudCode result dump.
from what I gather, the server is only spitting out Pointers at this from ParseHookResponse even if I feed it a whole object.
Beta Was this translation helpful? Give feedback.
All reactions