mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-24 23:06:50 +00:00
commit
9919f28f4d
@ -219,11 +219,11 @@ this:
|
|||||||
"id": 1,
|
"id": 1,
|
||||||
"title": "New post",
|
"title": "New post",
|
||||||
"body": "A body!",
|
"body": "A body!",
|
||||||
"comments": [ 1 ]
|
"comments": [ 1, 2 ]
|
||||||
},
|
},
|
||||||
"comments": [
|
"comments": [
|
||||||
{ "id": 1, "body": "what a dumb post", "tags": [ 1, 2 ] },
|
{ "id": 1, "body": "what a dumb post", "tags": [ 1, 2 ] },
|
||||||
{ "id": 1, "body": "i liked it", "tags": [ 1, 3 ] },
|
{ "id": 2, "body": "i liked it", "tags": [ 1, 3 ] },
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
{ "id": 1, "name": "short" },
|
{ "id": 1, "name": "short" },
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user