fix(v3-nested): support aliases in nested CRUD routes

1. Added 'entry' alias for 'journal_entry' in object definitions.\n2. Updated nested router to resolve physical table names from the registry before ID resolution.\n3. Updated ID resolution helpers to recognize 'entry' prefix.\nThis resolves 404 errors when using shorter aliases in nested paths (e.g., /journal/{id}/entry/).
This commit is contained in:
Scott Idem
2026-02-06 14:13:22 -05:00
parent b9c00e423c
commit b63131e3fa
3 changed files with 160 additions and 17 deletions

View File

@@ -54,3 +54,6 @@ journal_obj_li = {
],
},
}
# Aliases for shorter/cleaner URLs
journal_obj_li['entry'] = journal_obj_li['journal_entry']