Skip to content
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

Merged
merged 5 commits into from
Oct 26, 2023

Conversation

agileknight
Copy link
Contributor

Fixes #261

Changes came from gofumpt.
Need to explicitly send field with null value for the patch
operation to affect it.
@agileknight
Copy link
Contributor Author

Work in progress PR where the changes are intended to be used: hashicorp/terraform-provider-azuread#1222

Copy link
Owner

@manicminer manicminer left a 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 🦖

msgraph/models.go Outdated Show resolved Hide resolved
msgraph/models.go Outdated Show resolved Hide resolved
@manicminer manicminer added this to the v0.65.0 milestone Oct 25, 2023
@manicminer manicminer merged commit 4bf4f01 into manicminer:main Oct 26, 2023
1 of 2 checks passed
manicminer added a commit that referenced this pull request Oct 26, 2023
agileknight added a commit to agileknight/hamilton that referenced this pull request Oct 26, 2023
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
agileknight added a commit to agileknight/hamilton that referenced this pull request Oct 26, 2023
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
@agileknight
Copy link
Contributor Author

@manicminer I created a follow-up PR after more thorough testing: #264

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request package/msgraph
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for conditional access policy guestsOrExternalUsers settings
2 participants