imulab / go-scim

Building blocks for servers implementing Simple Cloud Identity Management v2
MIT License
145 stars 56 forks source link

Includes and excluded attributes ignores super paths #91

Closed imulab closed 2 years ago

imulab commented 2 years ago

When the include path of emails is used, the rendering outcome actually produces an empty JSON array, because the traversing logic does not consider its sub attributes as included.

Similar things would happen for excluded attributes.

A more intelligent traversing logic is required when using the visitor for JSON serialization.