Skip to content

Commit 0a5fc11

Browse files
Cursor rules: skip using apollo on server side
1 parent fd867fd commit 0a5fc11

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.cursor/rules/database.mdc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ Apply SQL migrations to the database at runtime (e.g., during app startup or dep
1515

1616
Use apollo for data request:
1717
- on the client-side use useQuery, useMutation hooks from '@apollo/client'
18-
- on the server-side use getClient from '@/components/Apollo/ApolloClient'
18+
- on the server-side create api in src/db/api with drizzle and use it

0 commit comments

Comments
 (0)