golden-path: backend plugin persistence guide (#33540)

* docs: backend plugin persistence guide

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* fix prettier

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* add dto section

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* Apply suggestion from @aramissennyeydd

Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>

* address feedback

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* test against real scaffolding

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>

* fix knex migrate:make command to specify migrations directory

Without --migrations-directory, knex cannot resolve the config
and errors with "Failed to resolve config file".

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* address copilot review feedback

- Fix file paths in code snippets to match scaffolded layout (src/ prefix)
- Add missing semicolons in toDatabaseRow/fromDatabaseRow return objects
- Change knex from devDependency to regular dependency for type imports
- Add missing customize-your-instance to adoption sidebar

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

---------

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
Signed-off-by: Aramis Sennyey <159921952+aramissennyeydd@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Aramis Sennyey
2026-04-22 10:12:51 -04:00
committed by GitHub
parent 1b55701923
commit 3b8c0557c6
3 changed files with 342 additions and 4 deletions
+25 -2
View File
@@ -108,9 +108,32 @@ export default {
'golden-path/plugins/why-build-plugins',
'golden-path/plugins/sustainable-plugin-development',
sidebarElementWithIndex({ label: 'Backend Plugins' }, [
'golden-path/plugins/backend/001-first-steps',
'golden-path/plugins/backend/002-poking-around',
'golden-path/plugins/backend/first-steps',
'golden-path/plugins/backend/poking-around',
'golden-path/plugins/backend/persistence',
'golden-path/plugins/backend/reading-from-source',
'golden-path/plugins/backend/testing',
]),
sidebarElementWithIndex({ label: 'Frontend Plugins' }, [
'golden-path/plugins/frontend/first-steps',
'golden-path/plugins/frontend/poking-around',
'golden-path/plugins/frontend/dynamic-config',
'golden-path/plugins/frontend/http-client',
'golden-path/plugins/frontend/testing',
]),
]),
sidebarElementWithIndex({ label: '003 - Deployment' }, [
'golden-path/deployment/index',
]),
sidebarElementWithIndex({ label: '004 - Adoption' }, [
'golden-path/adoption/getting-started',
'golden-path/adoption/leadership-buy-in',
'golden-path/adoption/setting-up-a-poc',
'golden-path/adoption/first-stakeholder-feedback',
'golden-path/adoption/customize-your-instance',
'golden-path/adoption/preparing-for-ga',
'golden-path/adoption/plugin-ownership',
'golden-path/adoption/full-catalog',
]),
]),
]