generator-go-sdk: add nullable support for resource manager sdk#4633
generator-go-sdk: add nullable support for resource manager sdk#4633wuxu92 wants to merge 2 commits intohashicorp:mainfrom
generator-go-sdk: add nullable support for resource manager sdk#4633Conversation
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:
|
|
|
Instead of ad-hoc opt in the nullable behavior one by one (and regenerate the SDK), can we just update the marshal/unmarshal logic as a whole? |
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