Skip to content

Prisma findOne Deprecation requires updating Scaffold Generator #1612

@thedavidprice

Description

@thedavidprice

@cannikin

Redwood v0.22 is upgraded to Prisma v2.12.1:

Generators will need to be updated accordingly.

NOTE: Prisma now included a Code Mod command. We can instruct users to run the code mod in the future to fix issue in their project.

In Screenshot below, disregard the Jest test failure. Just using this to show Prisma warning and code.
Screen Shot 2021-01-07 at 10 27 35 AM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions