Skip to content

Improve role reassign invalid ID guidance#1290

Draft
mscoutermarsh wants to merge 1 commit into
mainfrom
cursor/fix-role-reassign-invalid-id-8262
Draft

Improve role reassign invalid ID guidance#1290
mscoutermarsh wants to merge 1 commit into
mainfrom
cursor/fix-role-reassign-invalid-id-8262

Conversation

@mscoutermarsh

@mscoutermarsh mscoutermarsh commented Jul 9, 2026

Copy link
Copy Markdown
Member

Summary

  • Preserve HTTP 404s as ErrNotFound when the API returns an empty or unexpected error body.
  • Add role reassign examples that show listing roles and using the source role id value.
  • Add command-level guidance for invalid source role IDs.

Tests

  • go test ./internal/planetscale ./internal/cmd/role

Slack Thread

Open in Web Open in Cursor 

Co-authored-by: Mike Coutermarsh <coutermarsh.mike@gmail.com>
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.

2 participants