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
125 stars 95 forks source link

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

Open hameno opened 8 months ago

hameno commented 8 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 8 months ago

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