-
Notifications
You must be signed in to change notification settings - Fork 76
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
Ignoring unknown fields? #81
Comments
The models included in the SDK strictly adhere to the SCIM 2 standard by default, which does not allow extending the meta attribute. There are a 2 options:
|
@digitalperk I think it's a hard decision, please reconsider as rfc7643 doesn't explicitly denies this, We created our own model classes but since Meta is referenced in the ScimResource interface it is impossible to provide our own Meta object unless it extends from Meta. |
Thanks for the reply. I've created an internal JIRA issue to track the concern and to get additional feedback on the proposal. There is no estimated time for resolution as the issue needs to be reviewed and prioritized. |
@digitalperk |
Hey guys,
Question, we have under the 'meta' section some extra fields, when retrieving a resource we get:
We do have in our schema a description of these fields but I guess the library doesn't consult with the schema rather just try to deserialize the Meta.class object,
Is there any way to ignore unknown fields or make the retrieve be aware of them somehow?
Another option would be to extends the resources to fit to our own needs and override the 'Meta' object (in case you are willing to make the
Meta
class not a final one)Thanks
The text was updated successfully, but these errors were encountered: