TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

93 pointsby kioku22 days ago

7 comments

fire_lake22 days ago
&gt; Users expect near-native responsiveness, even when offline<p>Do they? I think users are amazed if <i>anything</i> works without internet with modern applications.
评论 #43825150 未加载
评论 #43794578 未加载
FrustratedMonky22 days ago
Seems a lot like FSharp Type Providers? Is that a good analogy?
williamcotton21 days ago
I&#x27;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.<p>Check it out here: <a href="https:&#x2F;&#x2F;github.com&#x2F;williamcotton&#x2F;search-input-query">https:&#x2F;&#x2F;github.com&#x2F;williamcotton&#x2F;search-input-query</a><p>There&#x27;s an animated GIF of the demo so you can get a very quick idea of how it works!
gitroom22 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?
tehlike22 days ago
LINQ or PRQL.
hu322 days ago
Looks good.<p>For a more database specific, type-safe, data querying solution, I like to use <a href="https:&#x2F;&#x2F;kysely.dev" rel="nofollow">https:&#x2F;&#x2F;kysely.dev</a>
评论 #43784883 未加载
评论 #43784415 未加载
mifydev22 days ago
The same should apply to configuration, we have prisma for sql, we should have something like this for JSONs, like <a href="https:&#x2F;&#x2F;typeconf.dev" rel="nofollow">https:&#x2F;&#x2F;typeconf.dev</a> (I’m one of the founders)
评论 #43785952 未加载