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

fix(dbgenerated): Fix wording and details around dbgenerated and default #5007

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

Conversation

janpio
Copy link
Member

@janpio janpio commented Jul 5, 2023

Includes switch of dbgenerated() to always say dbgenerated(...) to make clear it needs a parameter.

Depends on prisma/prisma#19313

This will only be relevant for a future major version that removes dbgenerated() as a valid value.

…ay `dbgenerated(...)` to make clear it needs a parameter
@vercel
Copy link

vercel bot commented Jul 5, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 24, 2023 9:04am

@github-actions
Copy link
Contributor

github-actions bot commented Jul 5, 2023

This PR changes the following pages (Vercel Preview Deploy links):

Changed Vercel links

(Note that links will only be valid after Vercel preview deploy succeeded)

@github-actions
Copy link
Contributor

github-actions bot commented Jul 5, 2023

This PR probably requires the following redirects to be added to vercel.json:

  • This PR does not change any pages in a way that would require a redirect.

@janpio janpio changed the title fix(dbgenerated): Switch documentation of dbgenerated() to always say dbgenerated(...) to make clear it needs a parameter fix(dbgenerated): Document that dbgenerated() is not allowed any more Jul 5, 2023
Copy link
Member

@nikolasburk nikolasburk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • I made suggestions to change the sentence "annotated with a @default value attribute" because we're annotating fields with attributes, not values
  • do we know which release we need to fill in where I left the other comment? if no, maybe just drop that bullet altogether for now so that we can merge this one?

@janpio

Co-authored-by: Nikolas <nikolas.burk@gmail.com>
@nikolasburk nikolasburk self-requested a review November 24, 2023 08:55
Copy link
Member

@nikolasburk nikolasburk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, let's merge @janpio ?

@janpio janpio changed the title fix(dbgenerated): Document that dbgenerated() is not allowed any more fix(dbgenerated): Fix wording and details around dbgenerated and default Nov 24, 2023
@janpio janpio marked this pull request as ready for review November 24, 2023 09:04
@janpio
Copy link
Member Author

janpio commented Nov 24, 2023

Yes, please add a link to the PR where you moved the future upcoming breaking change though.

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.

None yet

3 participants