awslabs / aws-glue-schema-registry

AWS Glue Schema Registry Client library provides serializers / de-serializers for applications to integrate with AWS Glue Schema Registry Service. The library currently supports Avro, JSON and Protobuf data formats. See https://docs.aws.amazon.com/glue/latest/dg/schema-registry.html to get started.
Apache License 2.0
132 stars 98 forks source link

Allow customization of ObjectMapper / registration of default modules missing #321

Open hameno opened 10 months ago

hameno commented 10 months ago

The library creates multiple new ObjectMapper instances for JSON serialization/validation which all are missing the default classpath modules, e.g. Kotlin module. It also does not allow customization of the registered modules. This makes it almost impossible to use with Kotlin classes. Please allow customization or at least call objectMapper.findAndRegisterModules()

YangSan0622 commented 10 months ago

Thank you for your input, PR is welcome to support this feature.