Re: [jackson-user] Re: Json Schema V4 issue with virtual property

2016-10-14 Thread Benson Margulies
It turns out that adding @Override public JavaType getType() { return TypeFactory.defaultInstance().constructType(String.class); } to my VirtualBeanPropertyWriter subclass fixed this. On Fri, Oct 14, 2016 at 11:38 AM, Tatu Saloranta wrote: > I don't think schema

Re: [jackson-user] Re: Json Schema V4 issue with virtual property

2016-10-14 Thread Tatu Saloranta
I don't think schema generation / type introspection aspects have been tested with virtual properties, so you are exploring uncharted territory here. Most likely some wiring is missing. As usual, a github issue with simple repo would be good way to go. -+ Tatu +- On Fri, Oct 14, 2016 at 6:12

[jackson-user] Re: Json Schema V4 issue with virtual property

2016-10-14 Thread Benson Margulies
BeanProperty.getType() for this virtual property returns Object. is there a way for me to fix up my property injection class to indicate that it's a String? On Fri, Oct 14, 2016 at 9:06 AM, Benson Margulies wrote: > Sitting on one of my classes is: > > @JsonAppend(prepend