Closed connyduck closed 3 years ago
hello @connyduck ,
I will take a look at it hopefully this week (mainly the consequences of the decorator). Could you describe what is your core issue?
Ideally, if you can add a test for this functionality - something like there is a JSON response from Kontent and I need to deserialize it to the model X and serialize it back.
I added a test that crashes with Infinite recursion (StackOverflowError)
without the annotation.
Motivation
This makes it possible to serialize ContentItems with Jackson again (it breaks the circular reference chain). It helps with our custom caching solution.
Checklist
How to test
If manual testing is required, what are the steps?