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

patch: apply drizzle eslint rules to ctx.db #1890

Closed

Conversation

thecmdrunner
Copy link
Contributor

@thecmdrunner thecmdrunner commented May 16, 2024

Closes #

✅ Checklist

  • I have followed every step in the contributing guide (updated 2022-10-06).
  • The PR title follows the convention we established conventional-commit
  • I performed a functional test on my final commit

Changelog

Add ctx.db to the drizzleObjectName list for the drizzle eslint rules to be applied when using ctx.db in trpc routes.

Previously, it would only apply if you import { db } from "@/db"


Screenshots

[Screenshots]

💯

Copy link

changeset-bot bot commented May 16, 2024

🦋 Changeset detected

Latest commit: 1923e2a

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

This PR includes changesets to release 1 package
Name Type
create-t3-app Patch

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

Copy link

vercel bot commented May 16, 2024

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

Name Status Preview Comments Updated (UTC)
create-t3-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 16, 2024 7:33pm

Copy link

vercel bot commented May 16, 2024

@thecmdrunner is attempting to deploy a commit to the t3-oss Team on Vercel.

A member of the Team first needs to authorize it.

@thecmdrunner
Copy link
Contributor Author

git checkout from wrong branch, my bad 🤦🏻

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

1 participant