Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hayes committed Mar 6, 2025
1 parent c1db173 commit 13a7e78
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions packages/plugin-drizzle/tests/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the \`da
"""
scalar DateTime
type Error {
message: String
stack: String
}
type Mutation {
commentOnPost(input: MutationCommentOnPostInput!): comments
createPost(input: MutationCreatePostInput!): Post
Expand Down Expand Up @@ -65,12 +70,19 @@ type Query {
node(id: ID!): Node
nodes(ids: [ID!]!): [Node]!
post(id: ID!): Post
postWithErrors(id: ID!): QueryPostWithErrorsResult
posts(after: String, before: String, category: String, first: Int, last: Int): QueryPostsConnection
user(id: ID!): User
userWithInput(input: QueryUserWithInputInput!): User
users(id: ID!): [User!]
}
union QueryPostWithErrorsResult = Error | QueryPostWithErrorsSuccess
type QueryPostWithErrorsSuccess {
data: Post!
}
type QueryPostsConnection {
edges: [QueryPostsConnectionEdge]
pageInfo: PageInfo!
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-drizzle/tests/example/builder.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import SchemaBuilder from '@pothos/core';
import AddGraphQL from '@pothos/plugin-add-graphql';
import ErrorsPlugin from '@pothos/plugin-errors';
import ScopeAuthPlugin from '@pothos/plugin-relay';
import RelayPlugin from '@pothos/plugin-scope-auth';
import WithInputPlugin from '@pothos/plugin-with-input';
import ErrorsPlugin from '@pothos/plugin-errors';
import { drizzle } from 'drizzle-orm/libsql';
import DrizzlePlugin from '../../src';
import { type DrizzleSchema, client, db, schema } from './db';
Expand Down

0 comments on commit 13a7e78

Please sign in to comment.