drizzle-graphql `buildSchema` function doesn't return graphQL schema for PostgreSQL

Context: I'm trying to use drizzle-graphql buildSchema function to setup my GraphQL server using NestJS. But it keep returning null | undefined so I can't retrieve
schema
object from the result using destructuring.

My implementation I created a NestJS module to return drizzle(postgresClient) in DatabaseModule and then inject the drizzle instance to GraphQLModule using useFactory

Please let me know if there's any mistake in my usage. For the detail usage and log screen, please kindly refer to image attachments. Please tell me if I miss any information. πŸ™
image.png
image.png
Was this page helpful?