typelevel / typelevel/doobie

Investigate how slick-pg supports postgresql array of enum types

Open
#596 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
2.2k
Forks
379
Avg merge
14m
Merged PRs (30d)
8

Description

From gitter:

Earl St Sauver @estsauver Sep 06 12:14
Hey, it seems that doobie doens't support arrays of enums.
I think I've seen that before in slick-pg.
(https://github.com/tminglei/slick-pg/blob/master/src/main/scala/com/github/tminglei/slickpg/PgEnumSupport.scala#L36)

Earl St Sauver @estsauver Sep 06 12:22
Hopefully that's helpful for handling the issue mentioned in pgtypes (~line 117)

Rob Norris @tpolecat Sep 06 19:35
@estsauver can you open an issue with that pointer? I couldn't get it to work but maybe it's possible after all

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 inspecting slick-pg's PgEnumSupport.scala around line 36 and the doobie pgtypes code around line 117, as referenced in the issue. Determine whether PostgreSQL arrays of enum types can be supported there, and document a concrete implementation path or the blocker, including any relevant validation needed.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.