Skip to content

Added deprecation warning for prisma introspect command - #2134

Merged
molebox merged 4 commits into
mainfrom
deprecation-warning
Aug 11, 2021
Merged

molebox merged 4 commits into
mainfrom
deprecation-warning

Conversation

@molebox

@molebox molebox commented Aug 11, 2021

Copy link
Copy Markdown
Contributor

No description provided.

@thebiglabasky

Copy link
Copy Markdown
Contributor

I'd move the deprecation warning from the reference section up, just below the header introspect

@Jolg42

Jolg42 commented Aug 11, 2021

Copy link
Copy Markdown
Contributor

Started to add comments like
I think we don't need a warning here, we could just rename?
But I think it applies in many places so stopping commenting to not spam

Comment thread src/components/customMdx/admonition.tsx Outdated
Comment on lines +19 to +20
console.log({children})
const isMultiline: boolean = Array.isArray(children) ? true : false;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
console.log({children})
const isMultiline: boolean = Array.isArray(children) ? true : false;
const isMultiline: boolean = Array.isArray(children) ? true : false;

I think we should remove the console.log?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

face-palm

@Jolg42 Jolg42 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good to me! 🙌🏼 (see comments before merging)

@molebox

molebox commented Aug 11, 2021

Copy link
Copy Markdown
Contributor Author

Note: some images are showing prisma introspect
Like

Not sure how we can update these images (maybe for another day)

Yep i saw those! But thanks for making a list of them, thats super helpful. Will create another issue. I can probably handle most of them so long as they live in figma

@molebox
molebox merged commit b99801d into main Aug 11, 2021
@molebox
molebox deleted the deprecation-warning branch August 11, 2021 13:09
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.

Update docs to reflect that prisma introspect gets deprecated in favor of prisma db pull

3 participants