Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: custom generator #449

Open
wants to merge 28 commits into
base: main
Choose a base branch
from
Open

feat: custom generator #449

wants to merge 28 commits into from

Conversation

foyarash
Copy link
Collaborator

Title

Migrate the current generator (prisma-json-schema-generator) to a custom generator that overloads the json schema given by prisma-json-schema-generator.

Type of Change

  • New feature
  • Bug fix
  • Documentation update
  • Example update
  • Refactoring
  • Hotfix
  • Security patch
  • UI/UX improvement

Issue

#414

Description

This PR creates a custom Prisma generator that overloads the prisma-json-schema-generator JSON schema and creates it in the node_modules. This has 2 benefits:

  • no more DMMF dependency
  • no more schema imports on the app side

Copy link

changeset-bot bot commented Sep 30, 2024

🦋 Changeset detected

Latest commit: 4b60181

The changes in this PR will be included in the next version bump.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@foyarash foyarash force-pushed the feat/generator-custom branch 2 times, most recently from 5a03a7a to bf43640 Compare October 2, 2024 12:33
@foyarash foyarash requested a review from cregourd October 2, 2024 15:22
@foyarash foyarash marked this pull request as ready for review October 2, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants