docs(core): mark data store fallback temporary and list special cases

This commit is contained in:
Scott Idem
2026-05-01 14:31:19 -04:00
parent 19822c4eaf
commit 7cef6be54c
5 changed files with 29 additions and 3 deletions

View File

@@ -74,6 +74,9 @@ async function load_ae_obj_id__site_domain({
no_account_id = true;
// api_cfg.headers['x_account_id'] = 'nothing here';
}
// LEGACY BOOTSTRAP SPECIAL CASE: this helper is effectively a remove
// candidate once all site-domain lookups use the cache-first/bootstrap
// path in ae_core__site.ts.
no_account_id = true;
const params = {};

View File

@@ -28,6 +28,10 @@ export async function load_ae_obj_by_code__data_store({
save_idb?: boolean;
timeout?: number;
log_lvl?: number;
// TEMPORARY: this no-account fallback exists only until the backend
// can serve account-scoped defaults via JWT-backed access alone.
// Keep this path narrow and remove it when the backend no longer
// needs a transport-level scope drop for data_store.
}): Promise<any> {
if (log_lvl) {
console.log(`*** load_ae_obj_by_code__data_store() *** code=${code}`);