Skip to content

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

Description

@Zhuravlev1

Contact Details

zhuravlev125@gmail.com

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions