-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Cannot create or update property/namedvalues for api management #3916
Labels
Comments
looks very similar to #3718 |
@amarzavery this looks like bug in sdk |
@anganti - What is the name of the operation that you are trying to use? |
client.property.createOrUpdate |
Fixed in 2.5.1 - https://www.npmjs.com/package/ms-rest/v/2.5.1 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
trying to create property/namedvalue throws,
Error "mapper.constraints[constraintType].split is not a function" occurred in serializing the payload - {
"displayName": "foo",
"value": "bar",
"secret": true
}.
To Reproduce
Steps to reproduce the behavior:
{
"displayName": "foo",
"value": "bar",
"secret": true
}.
Expected behavior
Same as portal behavior. Should create a property/namedvalue
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
this is what seems to cause it
https://github.com/Azure/azure-sdk-for-node/blob/e1887b81ee4f1b0d540d6b63c84c542829036edd/lib/services/apimanagement/lib/models/propertyContract.js#L104
at line
https://github.com/Azure/azure-sdk-for-node/blob/master/runtime/ms-rest/lib/serialization.js#L160
The text was updated successfully, but these errors were encountered: