Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a more flexible way to configure the ObjectMapper which used by the MongoDataImport #54

Open
antkorwin opened this issue Jul 3, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@antkorwin
Copy link
Member

example of necessary configuration:

public class MongoDataImport implements DataSetImport {

     ..

    public MongoDataImport(MongoTemplate mongoTemplate) {
        ..
        this.objectMapper = new ObjectMapper();
        this.objectMapper.registerModule(new GeoJsonModule());
        this.objectMapper.registerModule(new JavaTimeModule());  !!!
    }

add an additional module in the ObjectMapper

@antkorwin antkorwin added the enhancement New feature or request label Jul 3, 2019
@antkorwin antkorwin added this to the v0.14 milestone Jul 3, 2019
@antkorwin antkorwin self-assigned this Jul 3, 2019
@antkorwin antkorwin modified the milestones: v0.14, v0.15 Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant