Skip to content

Export typeDefs from generated prisma.ts #91

@ojkelly

Description

@ojkelly

Hi,

I would like to be able to access typedefs in the generated prisma.ts file.

Specifically changing the generated file from:

const typeDefs = `
# THIS FILE HAS BEEN AUTO-GENERATED BY "PRISMA DEPLOY"
# DO NOT EDIT THIS FILE DIRECTLY
...
`

to:

export const typeDefs = `
# THIS FILE HAS BEEN AUTO-GENERATED BY "PRISMA DEPLOY"
# DO NOT EDIT THIS FILE DIRECTLY
...
`

I'm happy to make a PR if this is something that would be accepted, and someone can point me in the right direction.

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