Skip to content

When using upsert the @default(auth().field) is not been handled #1404

@israelins85

Description

@israelins85

Description and expected behavior
When using upsert and the record need be created, is necessary fill the fields with @default(auth().field)

Environment (please complete the following information):

  • ZenStack version: 2.0.1
  • Prisma version: 5.13.0
  • Database type: PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions