-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bulk modify org domains #4416
Bulk modify org domains #4416
Conversation
lcampbell2
commented
Mar 22, 2023
- add mutations for admins and super admins to bulk add/remove domains to/from orgs.
- added domains can be tagged as NEW/NOUVEAU and HIDDEN
- removed domains can be ARCHIVED
- optional "audit" flag to add activity logs for each domain
type: removeDomainUnion, | ||
description: | ||
'`RemoveDomainUnion` returning either a `DomainResultType`, or `DomainErrorType` object.', | ||
resolve: (payload) => payload, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong return type/ domains not returned for this mutation. Asking for domain info in the gql query returns null
:
mutation {
addOrganizationsDomains(input:{orgId: "ordId", domains: [
"example1234.com"
]}) {
result {
... on DomainResult {
status
domain {
domain
}
}
}
}
}
returns
{
"data": {
"addOrganizationsDomains": {
"result": {
"status": "Successfully added 0 domain(s) to some-org.",
"domain": null
}
}
}
}
result: { | ||
type: GraphQLNonNull(removeDomainUnion), | ||
description: | ||
'`RemoveDomainUnion` returning either a `DomainResultType`, or `DomainErrorType` object.', | ||
resolve: (payload) => payload, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same situation as the add-organizations-domains
mutation return value