Pothos GraphQL
56 posts

Pothos GraphQL
@pothos_graphql
News and updates about the Pothos! 📚 https://t.co/VYXgbsX8Y0 ✍️ @yavascript
Portland, OR شامل ہوئے Ocak 2023
53 فالونگ251 فالوورز

@pothos_graphql @saltyAom pothos is still the typedef layer on top of yoga
there definitely is a niche for a performance based e2e graphql server with the niceties of 2025 typescript
English

@SaukkonenVille Not yet, but I should probably set something up
English

@pothos_graphql Any chance to follow these updates also from Bluesky?
English

Pothos recently added some cool new stuff:
- New standard-schema validation plugin: pothos-graphql.dev/docs/plugins/v…
- Grafast Plugin: pothos-graphql.dev/docs/plugins/g…
- LLM support in docs: pothos-graphql.dev/docs/llms
English
Pothos GraphQL ری ٹویٹ کیا

New version of the @DrizzleORM plugin is out now: pothos-graphql.dev/docs/plugins/d…
This version updates everything to use the new RQBv2 API from drizzle.
This release has lots of breaking changes, but things should be a lot more stable now!
English

Now that Pothos v4 has shipped smoothly, its time for @DrizzleORM!
I just published an early preview of the drizzle plugin: pothos-graphql.dev/docs/plugins/d…
You can see a full example of a drizzle based API here: github.com/hayes/pothos/t…
Try it out, and let me know what you think!
English

@Mitchell_Floof @DrizzleORM Is this a custom Pothos plugin, or an envelope plugin? Always cool to see people doing interesting things with Pothos
English

Pothos v4 is finally about to launch. If anyone out there would be willing to test the migration guide I would be so grateful: v4.pothos-graphql.dev
English

@andrewingram I think it would be easy to build something that handles the easy cases in a couple hours, but getting something that can be generalized to all the use cases people want would take some careful API design
English

@andrewingram Not that I am aware of. I've seen a few people looking for something like this, but I've never been sure how types would be mapped (numbers -> int/float, Date -> Date/DateTime, IDs are generally just strings in zod, etc).
English

@DrizzleORM @xiniha_1e88df This has been on my to-do list for too long! I just read over the new graphql extension, and there's definitely some pieces that will simplify building the Pothos plugin a lot! Hoping to have time to release Pothos 4.0 soon, and drizzle is the top priority after that
English
Pothos GraphQL ری ٹویٹ کیا
Pothos GraphQL ری ٹویٹ کیا

🧙🏾 Package feature of the week: prisma-generator-pothos-codegen
This generator by @cauenor provides a fast way to generate a fully customizable CRUD GraphQL API with @pothos_graphql from your Prisma schema.
Try it out and ⭐️ it on GitHub!
github.com/Cauen/prisma-g…
English

@czystyl @andreasklinger @Stellate Yes, this is wrapping Pothos (using the dataloader and relay plugins)
English

New by the @stellate team
fusejs.org
Abstracted away all the nitty-gritty of building backend APIs into a small type file.
Useful, if you want your frontend team to own the API details and let them fetch from your DB or other APIs.
English

@nikolasburk @nditah_sammy @ykdojo @apollographql @typegraphql If you end up using Pothos, I'm more than happy to answer questions! Pothos has a prisma plugin that makes some of the harder pieces of building a GraphQL API with prisma a lot easier and more efficient.
English

@nditah_sammy @ykdojo Noice!! What GraphQL libraries are you using in the book? SDL-first with @apollographql, @typegraphql or @pothos_graphql? Or something else entirely? 😄
English

@MurmeltierS @bloberenober @DrizzleORM @elitasson @nhost Yeah, it's pretty similar, genql has some cool ideas. Aliases is the biggest missing piece as far as I know, but I also want a better story around default selections (they support __scalar: true, but I want more control at gen time)
English

Can’t we invent a strongly typed query builder (like @DrizzleORM) but for GraphQL Endpoints, anyone?
I can’t stand this „type-gen for every query/mutation“ bullshit. Let me generate some types from schema once and let the ts language server handle the rest.
English

@MurmeltierS @bloberenober @DrizzleORM @elitasson @nhost One of the big benefits is that you could convert things like a Date scalar back into a Date object on the client which many graphql clients struggle to do (since they don't actually know anything about your schema)
English

@MurmeltierS @bloberenober @DrizzleORM @elitasson @nhost A couple downsides: You need to have details about your full schema in the client, so you would want to generate a compact schema representation.
inline argument values aren't great, so you probably want to extract those out to variables when generating a query
English











