Giter VIP home page Giter VIP logo

Comments (7)

mvollmary avatar mvollmary commented on May 29, 2024

Hi @christian-lechner ,

thanks again for your contribution. I am also aware of the problem, sadly I had not yet the time to tackle it. The problem is not new with the Spring Data implementation. the Java driver also lacks such a functionality. We have open issues for that in the java-velocypack repo (#1 and #3). But since we are de-/serializing DBDocumentEntity and DBCollectionEntity in the Spring Data module I think a possible solution in the velocypack serializer wouldn't help us here. So we should go with your solution. Would be great if you could look at it. I will try to find some time for this and other issues in the project next week.

best
Mark

from spring-data.

christian-lechner avatar christian-lechner commented on May 29, 2024

Hi @mpv1989 ,
I've started working on the TypeMapper to support inheritance. I will try to submit a pull request till the end of the week.

from spring-data.

mvollmary avatar mvollmary commented on May 29, 2024

Hi @christian-lechner ,

great, thank you. Let me know if I can support you.

best
Mark

from spring-data.

christian-lechner avatar christian-lechner commented on May 29, 2024

Hi @mpv1989,
While implementing the TypeMapper I saw that the custom conversions can only convert simple types (e.g. String), but not DBEntity objects. I will include this extension in the upcoming pull request if that's ok for you.

from spring-data.

mvollmary avatar mvollmary commented on May 29, 2024

Hi @christian-lechner ,
I am totally ok with that.

from spring-data.

christian-lechner avatar christian-lechner commented on May 29, 2024

Hello @mpv1989
I've created a pull request: #33. We should discuss implementation details there and close this issue once it is merged.

from spring-data.

christian-lechner avatar christian-lechner commented on May 29, 2024

Implemented by #33.

from spring-data.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.