Skip to content
New issue

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

[Bug]: Cannot update records using Prisma Adapter #1423

Closed
Zhuravlev1 opened this issue Feb 18, 2023 · 1 comment
Closed

[Bug]: Cannot update records using Prisma Adapter #1423

Zhuravlev1 opened this issue Feb 18, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Zhuravlev1
Copy link

Zhuravlev1 commented Feb 18, 2023

Contact Details

[email protected]

What happened?

I am trying to update records using Prisma Adapter. Database=mongoDB
but I am getting next error:

Unknown arg id in data.id for type AnyTypeToUpdateInput. Available args:

This issue is valid for all types of my collections.
image

Bug prevalence

Every time when I try to update a record

AdminJS dependencies version

    "@adminjs/express": "^5.1.0",
    "@adminjs/nestjs": "^5.1.0",
    "@adminjs/prisma": "^3.0.1",
    "adminjs": "^6.8.6"

What browsers do you see the problem on?

Firefox, Chrome

Relevant log output

No response

Relevant code that's giving you issues

No response

@Zhuravlev1 Zhuravlev1 added the bug Something isn't working label Feb 18, 2023
@Zhuravlev1
Copy link
Author

The issue was created in the wrong repository. A Pull request with a fix has been opened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant