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

Render empty preview feature lists #2546

Merged
merged 1 commit into from
Jan 3, 2022

Conversation

pimeys
Copy link
Contributor

@pimeys pimeys commented Dec 31, 2021

If the user has an empty list defined for preview features in their generator block, do not remove the parameter when re-introspecting.

Closes: prisma/prisma#10460

If the user has an empty list defined for preview features in their generator
block, do not remove the parameter when re-introspecting.
@pimeys pimeys added this to the 3.8.0 milestone Dec 31, 2021
Copy link
Contributor

@tomhoule tomhoule left a comment

Choose a reason for hiding this comment

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

nice!

@pimeys pimeys merged commit 6d16e41 into master Jan 3, 2022
@pimeys pimeys deleted the datamodel/render_empty_preview_features branch January 3, 2022 08:18
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.

previewFeatures = [] gets lost after Introspection
2 participants