I'd like to know if there is a way to add more response data when saving ?
Here is an example: (this is based on crud manager docs response examples)
{
"requestId" : 124,
"type" : "sync",
"revision" : 5,
"books" : {
"added" : [
{ "$PhantomId" : "book-123", "title" : "Pet Sematary", "published" : 1983 , "a_custom_field": "custom_field_value"}
],
"updated" : [
{ "id" : 65, "title" : "War and Peace" , "a_custom_field": "custom_field_value"}
],
"removed" : [
{ "id" : 9001 }
]
},
"writers" : {
"added" : [
{ "$PhantomId" : "writer-321", "name" : "Stephen", "surname" : "King" , "a_custom_field": "custom_field_value" }
]
},
"authors" : {
"added" : [
{ "$PhantomId" : "author-555", "book_id" : "book-123", "writer_id" : "writer-321" , "a_custom_field": "custom_field_value"}
],
"removed" : [
{ "id" : 3 }
]
}
}
"a_custom_field": "custom_field_value" on response. Is this possible ? or are we going to edit the build js files you provided which is minified that makes it hard for us to read.
Looking forward
Thanks!
J