-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
Labels:
Hi, I am referring to the following change, which by default now adds the _type attribute to the except list.
https://github.com/mongoid/mongoid/commit/70dbda0009b7f7d85ce902d510ac18775f2a81d0#L1R34
I am just curious about the reason for this change. I suppose I had in mind that when serialization occurs the _type would be useful to have if the output were ever to be deserialized; i.e., particularly in the case of a polymorphic class that is sent to the browser as json.
But maybe I am thinking about this incorrectly.
Thanks!
-Eric