lu
02/11/2026, 10:36 PMproject, and a 1:1 child object type deploy_key (plus several other 1:1 children). I need to authorize: PATCH /projects/{projectId}/deploy-key
Allowed callers:
- the holder of that project’s deploy_key
- the owner of the project
Two modeling options:
A) Reuse the same ID for the 1:1 child: deploy_key:{projectId}
B) Use a distinct child ID and map it from the parent: project:{projectId}#deploy_key@deploy_key:{deployKeyId}
Are there best practices or gotchas for (A) vs (B)? Is there a recommended option?
Thanks!yetitwo
02/12/2026, 2:24 AMyetitwo
02/12/2026, 2:24 AMyetitwo
02/12/2026, 2:25 AMlu
02/12/2026, 11:48 AMyetitwo
02/12/2026, 2:44 PM