{
"data": {
"id": "isbn:9780399178481",
"type": "book",
"name": "Reincarnation Blues",
"author": { "type": "person", "id": "3" },
"chapters": [{
"name": "The Wise Man of Orange Blossom Key",
"characters": [{ "type": "character", "id": "4" }],
"readerComments": [{
"name": "Someone or Other",
"body": "Great read!",
}]
}],
},
}
{
"data": {
"id": "isbn:9780399178481",
"type": "book",
"name": "Reincarnation Blues",
"author": <Person:3>,
"chapters": [{
"name": "The Wise Man of Orange Blossom Key",
"characters": [<Character:4>],
"readerComments": [{
"name": "Someone or Other",
"body": "Great read!",
}]
}],
},
}
The largest major refactor to M3 dropped 64kb (min+gzip) of generated code
Large apps with conventional APIs that have a massive number of models and that will benefit from decreased maintenance and payload size.
Small-to-medium sized apps that won't benefit as much from decreased size, and may have more trouble working with dynamic models.
{
"data": {
"id": "isbn:9780399178481",
"type": "book",
"name": "Reincarnation Blues",
"author": { "type": "person", "id": "3" },
"chapters": [{
"name": "The Wise Man of Orange Blossom Key",
"characters": [{ "type": "character", "id": "4" }],
"readerComments": [{
"name": "Someone or Other",
"body": "Great read!",
}]
}],
},
}
{
"data": {
"id": "isbn:9780399178481",
"type": "book",
"name": "Reincarnation Blues",
"author": <Person:3>,
"chapters": [{
"name": "The Wise Man of Orange Blossom Key",
"characters": [<Character:4>],
"readerComments": [{
"name": "Someone or Other",
"body": "Great read!",
}]
}],
},
}