A Principled Approach to Querying Data – A Type-Safe Search DSL

claudiu-ivan.com

93 points by kioku 15 days ago


fire_lake - 15 days ago

> Users expect near-native responsiveness, even when offline

Do they? I think users are amazed if anything works without internet with modern applications.

FrustratedMonky - 15 days ago

Seems a lot like FSharp Type Providers? Is that a good analogy?

williamcotton - 14 days ago

I've got a similar project that includes a React component for the search input. The React component is actually a Monaco text editor so you get syntax highlighting, error highlighting, tab completion and more.

Check it out here: https://github.com/williamcotton/search-input-query

There's an animated GIF of the demo so you can get a very quick idea of how it works!

- 15 days ago
[deleted]
gitroom - 15 days ago

Nice, Ive bounced around between Prisma and Kysely too. I get nervous about locking too much into one thing, you ever worry if leaning on too much codegen or magic ends up biting you down the road?

tehlike - 15 days ago

LINQ or PRQL.

hu3 - 15 days ago

Looks good.

For a more database specific, type-safe, data querying solution, I like to use https://kysely.dev

mifydev - 15 days ago

The same should apply to configuration, we have prisma for sql, we should have something like this for JSONs, like https://typeconf.dev (I’m one of the founders)