Content pfp
Content
@
0 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
Do you prefer one, two, or a combination? @kjs and I are designing a new TypeScript schema definition for Ponder to replace schema.graphql. This makes the TS lang server very snappy by eliminating a codegen step. Also unblocks direct database access.
6 replies
2 recasts
12 reactions

Kyle Scott pfp
Kyle Scott
@kjs
One vote for the right!
0 reply
0 recast
2 reactions

‍ pfp
@git
right side. Can you still `import type { Infer } ...` when using right side?
1 reply
0 recast
0 reaction

Peter Ferguson pfp
Peter Ferguson
@peterferguson.eth
Left seems similar to drizzle which I have been enjoying quite a lot recently so I side with that Would probably also prefer even more like drizzle where you point to the schema file and each named export defines a table schema
1 reply
0 recast
1 reaction

Jeff Stout pfp
Jeff Stout
@stout
Why not both? Named exports for the example on the left, and a default export for the right - have your cake and eat it too 🍰🍽️
1 reply
0 recast
0 reaction

max ⚡ pfp
max ⚡
@maxp.eth
Liking the zod vibes on the right 🤙
0 reply
0 recast
2 reactions

//trip pfp
//trip
@heytrip.eth
Types as strings always felt like a failure to me, right seems like the way to go
0 reply
0 recast
1 reaction