You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLI currently enriches auth status (and any future whoami-style output) using the email field of the Account API resource. That field is deprecated as part of dnsimple/dnsimple-business#2318, which removed the notion of an "account email". Once the API stops returning it, our enrichment will silently render a blank label next to the account ID.
We need to switch the CLI to use the account name as the human-readable identifier, once the API exposes it and the Go client is released with the change.
Background
dnsimple/dnsimple-business#2318 — closed — removed the concept of an account email and introduced a separate "notification email" plus "domain push identifier".
dnsimple/dnsimple-engineering#425 — open — tracks the corresponding API + API client work. Its acceptance criteria explicitly include:
Add account name to /whoami, /accounts, /accounts/id
Summary
The CLI currently enriches
auth status(and any future whoami-style output) using theemailfield of the Account API resource. That field is deprecated as part of dnsimple/dnsimple-business#2318, which removed the notion of an "account email". Once the API stops returning it, our enrichment will silently render a blank label next to the account ID.We need to switch the CLI to use the account name as the human-readable identifier, once the API exposes it and the Go client is released with the change.
Background
auth switchsilently accepts invalid accounts and auth status ignores stored default #25 we noticed the SDK still exposes onlyemailand there is no replacement field yet.Current state
internal/cli/auth.gopopulatesdata.AccountEmailfromAccount.EmailviaAccounts.ListAccounts. Today thednsimple-gov8.xAccountstruct only exposes:There is no
Namefield yet, so we cannot make the change in the CLI in isolation.Dependencies
This ticket is blocked on:
dnsimple-gorelease that exposes the new fieldReferences
auth switchsilently accepts invalid accounts and auth status ignores stored default #25 (the bug fix that surfaced this gap)