Skip to content

Request the includes that DTO relationship fields need - #276

Merged
joetannenbaum merged 2 commits into
mainfrom
request-missing-includes
Oct 20, 2026
Merged

joetannenbaum merged 2 commits into
mainfrom
request-missing-includes

Conversation

@joetannenbaum

Copy link
Copy Markdown
Collaborator

The API only returns a relationship when the request names it in include, so cache environments, the application default environment, the deployment initiator, bucket keys, WebSocket cluster applications and the WebSocket application server were always empty in --json. The CLI now asks for each one, and the deployment initiator maps to the included user (initiatorId becomes initiator). This also lets environment:update preselect the current WebSocket cluster, which it never could before.

🤖 Generated with Claude Code

The API only returns a relationship when the request names it in include, so cache environments, application default environment, deployment initiator, bucket keys, WebSocket cluster applications and WebSocket application server were always empty. The CLI now asks for each one, and the deployment initiator maps to the included user.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@joetannenbaum
joetannenbaum marked this pull request as draft October 19, 2026 23:38
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@joetannenbaum
joetannenbaum marked this pull request as ready for review October 20, 2026 20:21
@joetannenbaum
joetannenbaum merged commit 70aa958 into main Oct 20, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant