Quarkus GraphQL 没有使用我的 Jackson ObjectMapperCustomizer
Quarkus GraphQL not using my Jackson ObjectMapperCustomizer
我的 ObjectMapper
配置如下:
objectMapper.setPropertyNamingStrategy(SNAKE_CASE);
objectMapper.setSerializationInclusion(NON_EMPTY);
如何让 GraphQL 使用我的自定义映射器?
SmallRye GraphQL 不支持 Jackson。有一个问题要添加对 Jackson 注释的支持,我建议在那里发表评论并添加此要求。见 https://github.com/smallrye/smallrye-graphql/issues/860
我的 ObjectMapper
配置如下:
objectMapper.setPropertyNamingStrategy(SNAKE_CASE);
objectMapper.setSerializationInclusion(NON_EMPTY);
如何让 GraphQL 使用我的自定义映射器?
SmallRye GraphQL 不支持 Jackson。有一个问题要添加对 Jackson 注释的支持,我建议在那里发表评论并添加此要求。见 https://github.com/smallrye/smallrye-graphql/issues/860