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: support prisma 2 beta 4 #658

Merged
merged 1 commit into from
May 1, 2020
Merged

Conversation

jasonkuhrt
Copy link
Contributor

@jasonkuhrt jasonkuhrt commented May 1, 2020

Relates to graphql-nexus/nexus#781

BREAKING CHANGE:

  • Requires Prisma 2 Beta 4 and up
  • Generated GraphQL API schema now has relation name references capitalized. This is a consequence of passing through the dmmf. This lib may add new logic in the future to revert to how the GraphQL API used to be generated. For examples of what the change looks like see the snapshot diffs in the PR here https://github.com/graphql-nexus/nexus-schema-plugin-prisma/pull/658/files.

BREAKING CHANGE:

Generate GraphQL API schema now has relation fields capitalized. This
is a consequence of passing through the dmmf. This lib may add new logic
in the future to maintain how the GraphQL API used to be generated.
@jasonkuhrt jasonkuhrt requested a review from Weakky May 1, 2020 14:52
@jasonkuhrt jasonkuhrt merged commit 0cf25ef into master May 1, 2020
@jasonkuhrt jasonkuhrt deleted the feat/support-prisma-beta-4 branch May 1, 2020 14:55
TLadd added a commit to TLadd/nexus-schema-plugin-prisma that referenced this pull request May 29, 2020
Relates to graphql-nexus#677

BREAKING CHANGE:
  - Requires Prisma 2 Beta 7 and up due to breaking changes in prisma pagination
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.

1 participant