haskell-beam / haskell-beam/beam

Is it possible to derive the arguments for "createTable" from a "DatabaseSettings"+"Table" instance?

Open
#303 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
635
Forks
193
PR merge metrics
No merged PRs in 30d

Description

I would like to create a test case that starts out by creating a table using `createTable`, followed by performing some insertions and queries on that table, and ending in a `dropTable`.

As far as I can see, it should be possible to derive the arguments for `createTable` from a `DatabaseSettings` and the corresponding `Table` instance, but I can't figure out how.

Is this possible and, if so, how can it be done?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.