open-source-labs / obsidian

GraphQL, built for Deno - a native GraphQL caching client and server module

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Integration with Pothos

hayes opened this issue · comments

Hey!

I am the author of Pothos (https://pothos-graphql.dev/) and was just working on updating some outdated docs on building graphql APIs in deno. I was wondering if it would make sense to support obsidian as well, and describe how to get that set up in the pothos/deno docs.

It looks like currently it might be a little tricky because Obsidian only accepts typedefs/resolvers and builds an executable schema. Pothos generates a schema directly with resolvers already added to the GraphQL types. Would be great if we could just pass in a schema directly!