-
Notifications
You must be signed in to change notification settings - Fork 63
generator-go-sdk
: add nullable support for resource manager sdk
#4633
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
base: main
Are you sure you want to change the base?
Conversation
generator-go-sdk
: add nullable support for resource manager sdk
Hi @wuxu92, is there any update on this PR? i am also encountering the issue where we cannot send null properties in the Do we have an ETA of when this PR will be merged? If this does go through, how do we consume the change? From your PR it seems that you can only make a property null if the property's |
@mryanlo Yes, currently |
@wuxu92 thanks for the response! a few more questions:
|
|
The resource manager SDK cannot support nullable values at present, so for some APIs, the JSON-MERGE-PATCH cannot be met by Pandora SDK. This PR works with hashicorp/go-azure-sdk#1147 to add nullable support for resource manager APIs without modifying the struct definitions, which means it won't break any existing code.
Fixes #hashicorp/go-azure-sdk#1143 also related to hashicorp/go-azure-sdk#387