← Back to team overview

dhis2-devs team mailing list archive

Contract changes in User Controller.

 

Hello Morten,

We're facing some issues due to some recent changes to UserController.

The serialized 'User' json has some issues.

The 'usercredentials' field is now being serialized as
'org.hisp.dhis.user.UserCredentials' and also some of the properties of
UserCredentials (like userAuthorityGroup ) is not being serialized.

One of our application is breaking due to these contract changes. We tried
fixing it, but soon got lost in the custom serialization code.

Can you please have a look at this.

( Also on a side note, is there any specific reason we are going for custom
serialization instead of going for standard serializers like Jackson? )


Regards

Mahendra/Kiran

Follow ups