@beddu wrote:
Hi everybody!
I am trying to understand this little detail about ember data and I hope that someone can help me to figure it out.
I have a model describing a
command
and I send “commands” to the backend byvar record = this.get('store').createRecord('command', {...}); record.save();
I create a single record per time, with a single record creation function, and I push only that record to the backend, then why the message payload that is sent to it has type
commands
? (pluralized)Before to find the way to switch off this behaviour, I would like to understand it.
Thanks in advance
Posts: 4
Participants: 3