The docs do mention that there is an alternative edge to use called domainsPaginated. Doing a search of the current version of the docs as well as the release candidate and unstable version does not provide any reference to the alternative.
Is this an omission from the docs or is the ability to query domains from the GraphQL Admin API going away?
Additionally, once I retrieve all the registered domains for a shop, how can I determine the current domain in the context (e.g., within a checkout UI extension)? useShop().storefrontUrl seems to return the primary storefront URL, but not the current domain.