The Model.getData(options) method takes in an options object that can be used to tweak the output of the model data. If I pass in:

{

"associated": true,

"serialize": true

}


I would have expected that these options would also be used when adding the model's associated data to the returned object, but the current behaviour ignores this.


The returned model data does invoke the serialize function on all of it's fields, but none of the associated data is serialized.


Is this a bug or is this the way this function is intended to work?