-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Changing customConfig to a string #3799
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
Conversation
Automation for azure-sdk-for-pythonA PR has been created for you: |
Automation for azure-sdk-for-nodeA PR has been created for you: |
Automation for azure-sdk-for-javaA PR has been created for you: |
Automation for azure-sdk-for-rubyA PR has been created for you: |
Automation for azure-sdk-for-goA PR has been created for you: |
|
Can one of the admins verify this patch? |
yangyuan
left a comment
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.
LGTM except title change.
specification/cognitiveservices/data-plane/CustomImageSearch/stable/v1.0/CustomImageSearch.json
Show resolved
Hide resolved
|
Updated the title |
yangyuan
left a comment
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.
LGTM
|
Can you please merge this? |
|
@q3blend, Azure SDK team can merge this. ping.. @sarangan12 |
specification/cognitiveservices/data-plane/CustomImageSearch/stable/v1.0/CustomImageSearch.json
Show resolved
Hide resolved
|
@q3blend By changing the data type, this will be a breaking change is several SDKs. Now, if you release a new version and change it, I dont mind. But, changing it in an existing version is definitely a breaking change and will impact the SDK customers. Why is this happening? Has this been approved? |
|
This is because on the API side the customConfig parameter was changed from int to string (guid), but it is still backward compatible. The change is already out there and the documentation is updated: What do you mean by a new version? As in bumping the version of the swagger spec to 1.1? I do not mind that either. |
|
@q3blend As mentioned earlier this change will cause SDK users a breaking change. Per Microsoft guidelines, such changes could be introduced only in new versions i.e. if you have 2018-01-01 version of service and you would like to introduce a breaking change you could do it in 2018-02-01 and not the same version. (This has nothing to do with Swagger versions) For this specific PR, since you have already deployed the changes in production side, I will approve it and merge it. But, in the future, such changes will be reported in the 360 report as breaking changes. |
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information
api-versionin the path should match theapi-versionin the spec).Quality of Swagger