GithubHelp home page GithubHelp logo

About Mutation about graphql-jpa-query HOT 4 OPEN

hzw2015 avatar hzw2015 commented on July 24, 2024 1
About Mutation

from graphql-jpa-query.

Comments (4)

negesti avatar negesti commented on July 24, 2024 1

You can find a quick copy&paste here https://gist.github.com/negesti/7a74b063a0d17d87bdebbb559da9c9c8

The actual mutation is done by a "hand written" DAO that implements the interface MyDAOInterface. For each entity that should be mutable, you must implement the "MyDAOInteface" and provide a MyAbstractMutation for it

from graphql-jpa-query.

negesti avatar negesti commented on July 24, 2024

@igdianov for our project we have extended the GraphQLJpaSchemaBuilder and are merging the existing GraphQL schema with our own mutation schema. However the mutation are not auto generated but require a DAO for each entity that should be updated/created/remove. If you are interested i can try to provide a sample/PR

from graphql-jpa-query.

hzw2015 avatar hzw2015 commented on July 24, 2024

Thank you very much, can you provide sample code for reference

from graphql-jpa-query.

hzw2015 avatar hzw2015 commented on July 24, 2024

Thanks, will the above code implementation be considered for adding to the current project?

from graphql-jpa-query.

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.