getmrahul / flask-graphene-sqlalchemy Goto Github PK
View Code? Open in Web Editor NEWA demo project for Flask + GraphQL (With Graphene & SQLAlchemy)
A demo project for Flask + GraphQL (With Graphene & SQLAlchemy)
only getalluser worked for me. others always show error: "got an unexpected keyword argument 'xxxxx'"
anyone has the same issue ?
e.gļ¼
{ findUser(username: "xxx") { id, name, email } }
{ "errors": [ { "message": "resolve_find_user() got an unexpected keyword argument 'username'", "locations": [ { "line": 2, "column": 3 } ], "path": [ "findUser" ] } ], "data": { "findUser": null } }
Hi Rahul,
This is not an issue per say but I just wanted to log the fact this project is not working anymore with Graphene 2.0.
Running the project would trigger the alert:
DeprecationWarning: Please use createUser.Arguments instead of createUser.Input.Input is now only used in ClientMutationID.
Read more: https://github.com/graphql-python/graphene/blob/2.0/UPGRADE-v2.0.md#mutation-input
DeprecationWarning: Please use changeUsername.Arguments instead of changeUsername.Input.Input is now only used in ClientMutationID.
Read more: https://github.com/graphql-python/graphene/blob/2.0/UPGRADE-v2.0.md#mutation-input
And createUser mutation triggers the following error:
TypeError: mutate() got an unexpected keyword argument 'username'
It would be awesome if you have the time to update the project for Graphene 2.0.
Thank you.
Alexis
A declarative, efficient, and flexible JavaScript library for building user interfaces.
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ššš
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ā¤ļø Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.