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 #1891

Merged
merged 2 commits into from
May 17, 2024

Conversation

thecmdrunner
Copy link
Contributor

@thecmdrunner thecmdrunner commented May 17, 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

image

💯

Copy link

changeset-bot bot commented May 17, 2024

🦋 Changeset detected

Latest commit: f58bd0a

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 17, 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 17, 2024 10:07am

Copy link

vercel bot commented May 17, 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 thecmdrunner changed the title patch: apply drizzle eslint rules to ctx.db #1890 patch: apply drizzle eslint rules to ctx.db May 17, 2024
@thecmdrunner thecmdrunner changed the title patch: apply drizzle eslint rules to ctx.db patch: apply drizzle eslint rules to ctx.db May 17, 2024
@juliusmarminge juliusmarminge merged commit 4236f0d into t3-oss:main May 17, 2024
265 of 267 checks passed
@thecmdrunner thecmdrunner deleted the patch/drizzle-eslint-rules branch May 17, 2024 13:33
devvianto605 pushed a commit to devvianto605/create-devviantex-nextjs-app-deprecated that referenced this pull request Jun 9, 2024
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.

2 participants