See test case. It was not possible to dump attributes of schema extensions. scim_response_serializer used self.get_attribute_urn to get the URN of EnterpriseUser (which results in attribute_urn to be urn:ietf:params:scim:schemas:core:2.0:user:urn:ietf:params:scim:schemas:extension:enterprise:2.0:user, probably also a bug), which does not get dumped.
This changes the code so that schema extensions are always returned. If no attributes from the extensions are requested, it still always returns a dict with schemas (which is expected).
See test case. It was not possible to dump attributes of schema extensions.
scim_response_serializer
usedself.get_attribute_urn
to get the URN ofEnterpriseUser
(which results inattribute_urn
to beurn:ietf:params:scim:schemas:core:2.0:user:urn:ietf:params:scim:schemas:extension:enterprise:2.0:user
, probably also a bug), which does not get dumped.This changes the code so that schema extensions are always returned. If no attributes from the extensions are requested, it still always returns a dict with
schemas
(which is expected).