tome export
This commit is contained in:
parent
c07c6ed686
commit
831f23fe85
3 changed files with 126 additions and 0 deletions
|
@ -6378,5 +6378,11 @@
|
|||
"node.b71f8b90-7636-4e13-b31a-e7ba42eb94f7": [
|
||||
"user.b8966985-d4b2-42a7-a319-2e94ccfbb849",
|
||||
"file.85ac0ba1-80de-478e-a3f4-9bd1f003348e"
|
||||
],
|
||||
"node.d5d38a64-f226-42e0-8691-6c1b128435bf": [
|
||||
"user.b8966985-d4b2-42a7-a319-2e94ccfbb849"
|
||||
],
|
||||
"path_alias.8941a0dc-4d03-4a42-a647-8d20898ac224": [
|
||||
"node.d5d38a64-f226-42e0-8691-6c1b128435bf"
|
||||
]
|
||||
}
|
93
content/node.d5d38a64-f226-42e0-8691-6c1b128435bf.json
Normal file
93
content/node.d5d38a64-f226-42e0-8691-6c1b128435bf.json
Normal file
|
@ -0,0 +1,93 @@
|
|||
{
|
||||
"uuid": [
|
||||
{
|
||||
"value": "d5d38a64-f226-42e0-8691-6c1b128435bf"
|
||||
}
|
||||
],
|
||||
"langcode": [
|
||||
{
|
||||
"value": "en"
|
||||
}
|
||||
],
|
||||
"type": [
|
||||
{
|
||||
"target_id": "daily_email",
|
||||
"target_type": "node_type",
|
||||
"target_uuid": "8bde1f2f-eef9-4f2d-ae9c-96921f8193d7"
|
||||
}
|
||||
],
|
||||
"revision_timestamp": [
|
||||
{
|
||||
"value": "2025-05-16T20:12:19+00:00"
|
||||
}
|
||||
],
|
||||
"revision_uid": [
|
||||
{
|
||||
"target_type": "user",
|
||||
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
|
||||
}
|
||||
],
|
||||
"revision_log": [],
|
||||
"status": [
|
||||
{
|
||||
"value": true
|
||||
}
|
||||
],
|
||||
"uid": [
|
||||
{
|
||||
"target_type": "user",
|
||||
"target_uuid": "b8966985-d4b2-42a7-a319-2e94ccfbb849"
|
||||
}
|
||||
],
|
||||
"title": [
|
||||
{
|
||||
"value": "Don't dump. Write a test."
|
||||
}
|
||||
],
|
||||
"created": [
|
||||
{
|
||||
"value": "2025-05-15T19:54:03+00:00"
|
||||
}
|
||||
],
|
||||
"changed": [
|
||||
{
|
||||
"value": "2025-05-16T20:12:19+00:00"
|
||||
}
|
||||
],
|
||||
"promote": [
|
||||
{
|
||||
"value": false
|
||||
}
|
||||
],
|
||||
"sticky": [
|
||||
{
|
||||
"value": false
|
||||
}
|
||||
],
|
||||
"default_langcode": [
|
||||
{
|
||||
"value": true
|
||||
}
|
||||
],
|
||||
"revision_translation_affected": [
|
||||
{
|
||||
"value": true
|
||||
}
|
||||
],
|
||||
"path": [
|
||||
{
|
||||
"alias": "",
|
||||
"pid": null,
|
||||
"langcode": "en"
|
||||
}
|
||||
],
|
||||
"body": [
|
||||
{
|
||||
"value": "<p>How often do you use functions like <code>var_dump<\/code>, <code>dump<\/code>, <code>dd<\/code> or <code>console.log<\/code> to debug an issue?<\/p><p>You want to check the type or value of something, so you add the debug code and reload the page.<\/p><p>If you don't resolve it on the first attempt, you change it or add more debugging lines which, hopefully, you'll remember to clean up before committing your code.<\/p><p>This is a time-consuming process, especially if the code you're debugging isn't easy to trigger.<\/p><p>Maybe it only happens when you've submitted a long form, so you need to manually complete the form each time you want to debug it, if certain steps have already happened or the application state is a certain way.<\/p><p>Instead, consider writing an automated test.<\/p><p>They can be run when needed without needing to manually fill in forms or complete complex steps, and become a permanent part of the codebase rather than something that's only added temporarily whilst debugging.<\/p><p>They can be run manually by Developers, automatically in a CI pipeline and serve as documentation and examples.<\/p><p>Don't dump. Test.<\/p><p>P.S. If you want to learn how to write automated tests in Drupal, subscribe to <a href=\"http:\/\/localhost:8888\/atdc\">my free 10-day email course<\/a>.<\/p>",
|
||||
"format": "basic_html",
|
||||
"processed": "<p>How often do you use functions like <code>var_dump<\/code>, <code>dump<\/code>, <code>dd<\/code> or <code>console.log<\/code> to debug an issue?<\/p><p>You want to check the type or value of something, so you add the debug code and reload the page.<\/p><p>If you don't resolve it on the first attempt, you change it or add more debugging lines which, hopefully, you'll remember to clean up before committing your code.<\/p><p>This is a time-consuming process, especially if the code you're debugging isn't easy to trigger.<\/p><p>Maybe it only happens when you've submitted a long form, so you need to manually complete the form each time you want to debug it, if certain steps have already happened or the application state is a certain way.<\/p><p>Instead, consider writing an automated test.<\/p><p>They can be run when needed without needing to manually fill in forms or complete complex steps, and become a permanent part of the codebase rather than something that's only added temporarily whilst debugging.<\/p><p>They can be run manually by Developers, automatically in a CI pipeline and serve as documentation and examples.<\/p><p>Don't dump. Test.<\/p><p>P.S. If you want to learn how to write automated tests in Drupal, subscribe to <a href=\"http:\/\/localhost:8888\/atdc\">my free 10-day email course<\/a>.<\/p>",
|
||||
"summary": ""
|
||||
}
|
||||
],
|
||||
"feeds_item": []
|
||||
}
|
27
content/path_alias.8941a0dc-4d03-4a42-a647-8d20898ac224.json
Normal file
27
content/path_alias.8941a0dc-4d03-4a42-a647-8d20898ac224.json
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"uuid": [
|
||||
{
|
||||
"value": "8941a0dc-4d03-4a42-a647-8d20898ac224"
|
||||
}
|
||||
],
|
||||
"langcode": [
|
||||
{
|
||||
"value": "en"
|
||||
}
|
||||
],
|
||||
"path": [
|
||||
{
|
||||
"value": "\/node\/d5d38a64-f226-42e0-8691-6c1b128435bf"
|
||||
}
|
||||
],
|
||||
"alias": [
|
||||
{
|
||||
"value": "\/daily\/2025\/05\/15\/dont-dump-write-test"
|
||||
}
|
||||
],
|
||||
"status": [
|
||||
{
|
||||
"value": true
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue