Azure / msrest-for-python

The runtime library "msrest" for AutoRest generated Python clients.
MIT License
41 stars 64 forks source link

Improve validation error on dict<str, Type> #141

Closed lmazuel closed 4 years ago

lmazuel commented 5 years ago

See https://github.com/Azure/azure-sdk-for-python/issues/4243

This message is not very smart: ValidationError: Parameter 'notifications' must be of type '{Notification}'

should be something like: ValidationError: Parameter 'notifications' must be of type 'dict<str, Notification>'

lmazuel commented 4 years ago

Duplicate of https://github.com/Azure/msrest-for-python/issues/156