Closed cristianbica closed 10 years ago
If we're gonna do this, we should do deep deserialization as well for global IDs.
what do you mean by that?
before = [Person.find(1), Person.find(2), Person.find(3)]
after = Arguments.deserialize(Arguments.serialize(before))
before
should be equal to after
, but is now just an array of three string global IDs. .deserialize
should be adapted to do deep deserialization, in line with .serialize
's deep serialization.
Got it. Working on it
done with the hash values
Looks good to me!
If we're gonna do this, we should do deep deserialization as well for global IDs.