Skip to content

Commit

Permalink
Merge pull request #1344 from olup/fix-doc
Browse files Browse the repository at this point in the history
fix: small updates on drizzle plugin documentation
  • Loading branch information
hayes authored Nov 12, 2024
2 parents 20f9ae0 + e6b671f commit 3a2c2e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/content/docs/plugins/drizzle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const builder = new SchemaBuilder<PothosTypes>({
plugins: [DrizzlePlugin],
drizzle: {
client: db,
schema
},
});
```
Expand All @@ -57,7 +58,7 @@ import * as schema from './schema';
import { drizzle } from 'drizzle-orm/...';
import SchemaBuilder from '@pothos/core';
import DrizzlePlugin from '@pothos/plugin-drizzle';
import RelayPlugin from '@pothos/plugin-scope-auth';
import RelayPlugin from '@pothos/plugin-relay';
import WithInputPlugin from '@pothos/plugin-with-input';

const db = drizzle(client, { schema });
Expand Down

0 comments on commit 3a2c2e1

Please sign in to comment.