Comments (4)
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.
@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.
Thank you very much, can you provide sample code for reference
from graphql-jpa-query.
Thanks, will the above code implementation be considered for adding to the current project?
from graphql-jpa-query.
Related Issues (20)
- Custom query
- Is it possible to connect multiple-datasource?
- Non-threadsafe Entitymanager instance
- GraphQL schema is transformed on every request, leading to performance issues
- @Embedded doesn't seem to work HOT 1
- Pagination error after index out of bound
- OrderBy throws NullPointerException using EclipseLink JPA
- LazyInitializationException during load test
- Payload response has null values during load test HOT 2
- getResultStream should use query.getResultStream instead of query.getResultList().stream
- Mutation Wanted!
- Mutation Wanted HOT 3
- How can I override an Entity field dataFetcher?
- Entities named differently to the underlying database table are misnamed in the schema
- NPE on nested @Embedded HOT 4
- Getting Started Guide? HOT 2
- Bump hibernate-core from 5.6.14.Final (Nov 2022) to 6.2.1.Final (Apr 2023) HOT 1
- ManyToOne relationships failing with UnknownTableReferenceException HOT 2
- Single Result Queries losing the original Object Type with EmbeddedIds HOT 1
- Used with hibernate-envers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-jpa-query.