Comments (10)
This is now fixed in [email protected]
: prisma-labs/prisma-binding#44 🎉
from node-graphql-server.
@State0fMind @allanleonardjr This is fixed in the latest version of graphcool-binding
.
from node-graphql-server.
@marktani the repo https://github.com/state0fmind/refract is a copy of node-advanced, just in es6
from node-graphql-server.
What do you mean it creates duplicate posts?
If you call this mutation once, one post should be created.
If you call this mutation twice, two posts should be created.
Do you observe a different behaviour?
from node-graphql-server.
Yes, whenever I press play button in the graphql playground ide, it creates two posts/users in create user/writepost mutation.
from node-graphql-server.
Yep, I can reproduce this. Here's what I tried:
- can reproduce in Playground
- can reproduce using cURL
- cannot reproduce when writing the mutation manually against the Graphcool DB
This makes me believe the problem is in graphcool-binding
, I am on version 0.3.5
. I will look into the exact problem.
from node-graphql-server.
Hey @State0fMind, which boilerplate example are you following exactly?
from node-graphql-server.
Yikes @marktani, the duplication issue is occuring within my projects as well!
I've tested with the following templates:
- node-basic
- react-fullstack-basic
$ graphcool -v
graphcool/1.0.0-beta2.1.1 (darwin-x64) node-v8.4.0
$ graphql -v
2.2.4
from node-graphql-server.
Thanks! 🙌
from node-graphql-server.
Awesome, thanks!!!
from node-graphql-server.
Related Issues (20)
- Add yarn.lock to .gitignore HOT 2
- Install script brakes for `node-basic` HOT 1
- Basic example spits errors HOT 5
- Support cloning repo
- Can't get boilerplate of Node Basic HOT 6
- Error: Duplicate "graphql" modules HOT 12
- `Loading (from {process.env.REACT_APP_GRAPHQL_ENDPOINT})`
- Reset Password Example HOT 2
- Improve node compatibility HOT 1
- Network error: Unexpected token < in JSON at position 0 HOT 13
- PRISMA_ENDPOINT incorrect - url has duplicate service name HOT 3
- Default value doesn't work HOT 1
- SyntaxError: Unexpected token ) HOT 3
- after upgrading to Prisma 1.7 , there are no folders HOT 6
- Single document for explanations and decisions
- Error on start server HOT 4
- no folders on advanced boilerplate install HOT 5
- CLI for GraphQL has changed HOT 3
- Node Graphql
- Dependency Dashboard
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 node-graphql-server.