elimity-com / scim

Golang Implementation of the SCIM v2 Specification
MIT License
177 stars 55 forks source link

Allow strings as numbers and booleans #165

Closed maraino closed 7 months ago

maraino commented 9 months ago

Description

This commit makes validating integers, decimals, and booleans more flexible. Some SCIM clients, like the one used in Microsoft Azure, will send numbers as strings, and by default, the "active" attribute on a PATCH will also be a string like "False".

This PR is built on top of https://github.com/elimity-com/scim/pull/164, which allows using integer attributes in patches.