We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
I used Fastapi + Masonite ORM + Strawberry
I'm trying to save a JSON in a JSON field of PostgreSQL, the problem is that when I trying im getting the next error:
Message:
masoniteorm.query.QueryBuilder.QueryBuilder.create() got multiple values for keyword argument 'id_key'
To Reproduce Steps to reproduce the behavior:
pip3 install -r requirements.txt
mutation MyMutation { addFaqCategory( data: {category: "[{\"category\":\"Basketball\"}]", deletedAt: null} ) { id category deletedAt } }
5.- Go to the requirements.txt file and change the version of masonite-orm to 2.19.* 6.- Run again the query an you will get the error
Expected behavior Save the json in database:
Screenshots or code snippets Screenshots help a lot. If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
What database are you using?
Additional context There is no problem trying to save the json in Masonite ORM version 2.18.6.
The text was updated successfully, but these errors were encountered:
this is fixed in v2.19.2
Sorry, something went wrong.
josephmancuso
No branches or pull requests
Describe the bug
I used Fastapi + Masonite ORM + Strawberry
I'm trying to save a JSON in a JSON field of PostgreSQL, the problem is that when I trying im getting the next error:
Message:
masoniteorm.query.QueryBuilder.QueryBuilder.create() got multiple values for keyword argument 'id_key'
To Reproduce
Steps to reproduce the behavior:
pip3 install -r requirements.txt
mutation MyMutation { addFaqCategory( data: {category: "[{\"category\":\"Basketball\"}]", deletedAt: null} ) { id category deletedAt } }
5.- Go to the requirements.txt file and change the version of masonite-orm to 2.19.*
6.- Run again the query an you will get the error
Expected behavior
Save the json in database:
Screenshots or code snippets
Screenshots help a lot. If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
What database are you using?
Additional context
There is no problem trying to save the json in Masonite ORM version 2.18.6.
The text was updated successfully, but these errors were encountered: