-
Notifications
You must be signed in to change notification settings - Fork 61
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
Implement support for CAP guestsOrExternalUsers #262
Implement support for CAP guestsOrExternalUsers #262
Conversation
Changes came from gofumpt.
Need to explicitly send field with null value for the patch operation to affect it.
Work in progress PR where the changes are intended to be used: hashicorp/terraform-provider-azuread#1222 |
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.
Many thanks for this @agileknight! Just a couple suggestions below, which I'll go ahead and add, this otherwise LGTM 🦖
Without setting the correct @odata.type for both possible values all and enumerated, a patch will fail when first enumerating and setting members and then changing to type all because the stored object is of the wrong type. References manicminer#262
Without setting the correct @odata.type for both possible values all and enumerated, a patch will fail when first enumerating and setting members and then changing to type all because the stored object is of the wrong type. References manicminer#262
@manicminer I created a follow-up PR after more thorough testing: #264 |
Fixes #261