This repository is for active development of the Azure SDK for C++. For consumers of the SDK we recommend visiting our versioned developer docs at https://azure.github.io/azure-sdk-for-cpp.
MIT License
181
stars
126
forks
source link
List of typespec modifications needed in client.tsp for AppConfig to generate expected models for C++ #6183
Capturing the set of model feedback for the generated code based on the AppConfig tsp: https://github.com/Azure/azure-sdk-for-cpp/pull/6176
The tsp defines it as string https://github.com/Azure/azure-rest-api-specs/blob/7dfd17073198d5cf3df99a106b770cb01b395f2a/specification/appconfiguration/AppConfiguration/models.tsp#L169-L175
It's specified as string in the typespec. We'd need to override it in a
client.tsp
file to match the expected model we want. https://github.com/Azure/azure-rest-api-specs/blob/7dfd17073198d5cf3df99a106b770cb01b395f2a/specification/appconfiguration/AppConfiguration/models.tsp#L161-L162It isn't marked as optional in the tsp: https://github.com/Azure/azure-rest-api-specs/blob/7dfd17073198d5cf3df99a106b770cb01b395f2a/specification/appconfiguration/AppConfiguration/routes.tsp#L302-L306
This might be an emitter issue, since the syncTokenHeader model contains an optional string in the tsp: https://github.com/Azure/azure-rest-api-specs/blob/7dfd17073198d5cf3df99a106b770cb01b395f2a/specification/appconfiguration/AppConfiguration/routes.tsp#L29-L33
This list isn't exhaustive but using it to track the set of changes we'd want to make