Giter Site home page Giter Site logo

Comments (7)

masterspambot avatar masterspambot commented on August 12, 2024

From @milanogc on March 31, 2016 19:26

Similarly with JPA you can use @ManyToOne and @OneToMany annotations and specify the targetEntity element.

http://docs.oracle.com/javaee/7/api/javax/persistence/ManyToOne.html#targetEntity--
http://docs.oracle.com/javaee/7/api/javax/persistence/OneToMany.html#targetEntity--

from katharsis-framework.

masterspambot avatar masterspambot commented on August 12, 2024

From @meshuga on March 31, 2016 19:52

Currently, it's not possible to define relationships in such way, but it might be a good idea to add targetEntity attribute to relationship definition.

from katharsis-framework.

masterspambot avatar masterspambot commented on August 12, 2024

From @buschtoens on June 23, 2016 11:16

Has there been any progress on this issue? This really is a show stopper for me.

How would you model recursive relationships, for instance friends in a profile?

from katharsis-framework.

masterspambot avatar masterspambot commented on August 12, 2024

From @mohlek on June 23, 2016 12:35

I'd love to see a PR or at least some hints where to start.
My project depends heavily on big data and dozen of relationships. There is no way to respond with all data included. I need to load them lazily as needed.

from katharsis-framework.

masterspambot avatar masterspambot commented on August 12, 2024

From @ieugen on June 23, 2016 13:36

Hello @mohlek,

I'm refactoring (more like rewriting) parts of Katahrsis and I think some of the updates will help you.
It should be ready by next week but it will take another week or two (optimistic) to make a release.

I also do think that you can model change how you model your data so you can solve your problem. Have you tried looking differently at the data and the relationships?

from katharsis-framework.

masterspambot avatar masterspambot commented on August 12, 2024

From @mohlek on June 23, 2016 16:7

Well I have chosen jsonapi because of the relationships. Everything else would destroy all reasons to use jsonapi in my opinion. For now I can live with that. I can request the children on my own. But it would be an awesome feature for the near future.

from katharsis-framework.

chb0github avatar chb0github commented on August 12, 2024

This is a non-standard JSONapi behavior. In addition, this is not really in katharsis's manifest

from katharsis-framework.

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.