Re: [jackson-user] @JsonIgnore doesn't ignore @JsonManagedReference within mixin

2018-04-04 Thread Dmitry Polovka
Yeap, moving `@JsonManagedReference` to getter makes difference. Thanks. On Thursday, 5 April 2018 06:11:13 UTC+3, Tatu Saloranta wrote: > > Does it work if you add `@JsonIgnore` directly on type? > > I suspect this could be because you are adding mix-in to getter, but > `@JsonManagedReference`

Re: [jackson-user] @JsonIgnore doesn't ignore @JsonManagedReference within mixin

2018-04-04 Thread Tatu Saloranta
Does it work if you add `@JsonIgnore` directly on type? I suspect this could be because you are adding mix-in to getter, but `@JsonManagedReference` is added to field. So another thing to checkout would be to try to move one `@ JsonManagedReference` to getter and see if that makes difference. -+