Skip to content

Add support for TypedSQL queries. #398

@gausie

Description

@gausie

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the bug has not already been reported

Versions

Prisma 5.20.0
prisma-json-types-generator 3.1.1

Description

A query written with Prisma's new TypedSQL returns JsonValue as normal for a column that has been typed with this package.

Steps to Reproduce

Write a TypedSQL query that returns a Json field. Observe that it is typed as JsonValue

Expected Behavior

It should be typed according to the triple slash comment in schema.prisma

Metadata

Metadata

Assignees

No one assigned

    Labels

    Depends on PrismaDepends on prisma changes to be implemented

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions