New Rotation Mode for Objects/Bones: Transform NOT Updating during Animation


today I have been working on adding a new rotation mode (swing-twist) for objects and bones.
I have this rotation mode working in the interface, and I can set its value and make all required conversions from and to the existing modes. The object transform is correctly updated when I set the rotation value.

The issue is that, although I can animate the property, the object transform is not updated during the animation while the property does as expected.
How would I tell Blender to update the object transform when the new rotation is updated during animation?

My guess would be that is missing a new rotation property.

Thank you Brecht, just adding a line in fixed it