inferred / FreeBuilder

Automatic generation of the Builder pattern for Java
Apache License 2.0
832 stars 101 forks source link

jackson serializer error #440

Closed sysmat closed 3 years ago

sysmat commented 3 years ago
com.fasterxml.jackson.databind.exc.InvalidDefinitionException: No serializer found for class si.Person$Builder 
and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS) 
@FreeBuilder
@JsonDeserialize(builder = Person.Builder.class)
public interface Person {
    String name();
    int age();

    class Builder extends Person_Builder {}    
}
alicederyn commented 3 years ago

Can you share a more complete, minimal example project that reproduces this at all?

alicederyn commented 3 years ago

Closing as no follow-up given