Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by mamcx

6 months ago

I explore the idea with https://tablam.org (relational + array). I even toyed with making relational queries to make types:

    data Person = User ?except .password ?select .name, .id + Customer ?select .name, .customer_id AS .id

So the types are in full sync when changes on the schema happen. And all of this is type safe.

0 comments

mamcx

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities