- Issue created by @the_double_a
As of Drupal 9.5.11 the JSON:API output for a link entity looked like this:
"field_internal_link": {
"uri": "entity:node/4940",
"url": "/human_readable/path/my-node",
"title": "",
"options": []
},
"field_external_link": {
"uri": "https://example.com",
"url": "https://example.com",
"title": "",
"options": []
},
In Drupal 10 it looks like this, without the "url: " key:value pair:
"field_internal_link": {
"uri": "entity:node/4940",
"title": "",
"options": []
},
"field_external_link": {
"uri": "https://example.com",
"title": "",
"options": []
},
This breaks consuming apps that expect and use the "url: " value.
Restore "url: " field to link object in JSON:API
Active
10.1 β¨
Last updated