Skip to content

Commit 0f503de

Browse files
Apply suggestions from code review
1 parent 3747b50 commit 0f503de

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

Diff for: cli/template/extras/src/server/api/trpc/base.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/**
2-
* YOU PROBABLY DON'T NEED TO EDIT THIS FILE
2+
* YOU PROBABLY DON'T NEED TO EDIT THIS FILE, UNLESS:
3+
* 1. You want to modify request context (see Part 1)
4+
* 2. You want to create a new middleware or type of procedure (see Part 3)
35
*
46
* tl;dr - this is where all the tRPC server stuff is created and plugged in.
57
* The pieces you will need to use are documented accordingly near the end

Diff for: cli/template/extras/src/server/api/trpc/with-auth-prisma.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/**
2-
* YOU PROBABLY DON'T NEED TO EDIT THIS FILE
2+
* YOU PROBABLY DON'T NEED TO EDIT THIS FILE, UNLESS:
3+
* 1. You want to modify request context (see Part 1)
4+
* 2. You want to create a new middleware or type of procedure (see Part 3)
35
*
46
* tl;dr - this is where all the tRPC server stuff is created and plugged in.
57
* The pieces you will need to use are documented accordingly near the end

Diff for: cli/template/extras/src/server/api/trpc/with-auth.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/**
2-
* YOU PROBABLY DON'T NEED TO EDIT THIS FILE
2+
* YOU PROBABLY DON'T NEED TO EDIT THIS FILE, UNLESS:
3+
* 1. You want to modify request context (see Part 1)
4+
* 2. You want to create a new middleware or type of procedure (see Part 3)
35
*
46
* tl;dr - this is where all the tRPC server stuff is created and plugged in.
57
* The pieces you will need to use are documented accordingly near the end

Diff for: cli/template/extras/src/server/api/trpc/with-prisma.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/**
2-
* YOU PROBABLY DON'T NEED TO EDIT THIS FILE
2+
* YOU PROBABLY DON'T NEED TO EDIT THIS FILE, UNLESS:
3+
* 1. You want to modify request context (see Part 1)
4+
* 2. You want to create a new middleware or type of procedure (see Part 3)
35
*
46
* tl;dr - this is where all the tRPC server stuff is created and plugged in.
57
* The pieces you will need to use are documented accordingly near the end

0 commit comments

Comments
 (0)