Comments (3)
This is fixed by merging @phryneas PR #24. I'll be pushing a new release to npm later today.
from postgraphile-plugin-nested-mutations.
i can confirm the bug and also that @phryneas PR #24 solves the issues.
from postgraphile-plugin-nested-mutations.
Hello I confirm this issue
My Table
CREATE TABLE "public"."app_permissions" (
"id" bigserial PRIMARY KEY,
"table_id" character varying(80) REFERENCES "public"."tables",
"action" enum_crud,
"group" character varying(40),
"created_at" timestamp with time zone DEFAULT NOW(),
"updated_at" timestamp with time zone,
"deleted_at" timestamp with time zone
);
ALTER TABLE "public"."app_permissions"
ADD CONSTRAINT "u_table_action_group_key" UNIQUE ("table_id", "action", "group");
table_id is ForeignKey
I have:
mutation{
updateTableById(,input:{
id:"BkBank",
patch:{
appPermissionsUsingId:{
deleteByTableIdAndActionAndGroup:{
group: "fastcont-sellers",
action: C,
tableId:"BkBank"
}
}
}
}){
table{
id
}
}
}
Response is:
{
"errors": [
{
"message": "syntax error at or near \")\"",
"locations": [
{
"line": 2,
"column": 3
}
],
"path": [
"updateTableById"
]
}
],
"data": {
"updateTableById": null
}
}
from postgraphile-plugin-nested-mutations.
Related Issues (20)
- Support for "ON CONFLICT DO NOTHING" HOT 1
- Nested Mutation is not working HOT 1
- Broken Inverse FK Input types generated when keys based on same column names HOT 1
- Nested mutation not working (connectById) HOT 9
- Repo status HOT 4
- Tables that relate to themselves HOT 3
- Disable nested mutation on specific tables HOT 1
- Multiple instances of GraphQLSchema HOT 1
- Add support for --classic-ids HOT 1
- nested-mutations plugin adds omitted reference column HOT 1
- Table referencing itself HOT 4
- Delete by multiple primary keys
- Issue updating 3rd nested level HOT 2
- Delete mutations not visible HOT 1
- How to use nested mutations with makeWrapResolversPlugin in filter matching mode
- Breaks on tables with column-level permissions
- "Unable to update/select parent row." Doesn't Provide Enough Information
- Is this library still maintained?
- Impossible to connect many-to-many relation in one step
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 postgraphile-plugin-nested-mutations.