typelevel / typelevel/skunk

SQL DSL & Skunk

Open
#501 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
1.7k
Forks
175
Avg merge
5d 14h
Merged PRs (30d)
9

Description

Hi, and thanks for your great effort.
I'm working on revamping this project https://github.com/epifab/tydal (a typesafe SQL DSL for Postgres) for Scala 3, effectively ditching things like shapeless. One of the things I also wanted to get rid of is JDBC, so I thought wouldn't it be great if Tydal was actually built on top of Skunk?
One idea could be to interact at a very high level, having Tydal building instances of Query[_, _] and Command[_], which might work and surely something worth exploring.
Do you think this is the right approach, or is a lower level interaction possible?
Full spoiler: I haven't checked out Skunk yet, and I don't know much about its modules and architecture, but I thought I'd ask your opinion before getting deep into it.
Thanks in advance!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Skunk's modules and architecture, then compare its Query[_, ] and Command[] abstractions with Tydal's proposed Scala 3 integration. The issue is complete when the project has a decided interaction level and a documented direction for building Tydal on Skunk rather than JDBC.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgres, scala
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.