Skip to content

Commit

Permalink
Merge pull request #585 from well-typed/edsko/export-generic-classes
Browse files Browse the repository at this point in the history
Export generic classes
  • Loading branch information
LaurentRDC authored Oct 9, 2024
2 parents ff8d508 + 57a12e6 commit 3b0c00b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
3 changes: 3 additions & 0 deletions beam-core/Database/Beam/Backend/SQL/Row.hs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ module Database.Beam.Backend.SQL.Row
, ColumnParseError(..), BeamRowReadError(..)

, FromBackendRow(..)

-- * Exported so we can override defaults
, GFromBackendRow(..) -- for 'runSelectReturningList' and co
) where

import Database.Beam.Backend.SQL.Types
Expand Down
7 changes: 6 additions & 1 deletion beam-core/Database/Beam/Schema/Lenses.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ module Database.Beam.Schema.Lenses
( tableLenses
, TableLens(..)

, dbLenses ) where
, dbLenses

-- * Exported so we can override defaults
, GTableLenses(..)
, GDatabaseLenses(..)
) where

import Database.Beam.Schema.Tables

Expand Down
15 changes: 14 additions & 1 deletion beam-core/Database/Beam/Schema/Tables.hs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,20 @@ module Database.Beam.Schema.Tables
, pk
, allBeamValues, changeBeamRep
, alongsideTable
, defaultFieldName )
, defaultFieldName

-- * Exported so we can override defaults
-- For 'Beamable'
, GZipTables(..)
, GTableSkeleton(..)
-- For 'Database'
, GZipDatabase(..)
-- for 'defaultDbSettings'
, GAutoDbSettings(..)
, GDefaultTableFieldSettings(..)
, ChooseSubTableStrategy
, SubTableStrategyImpl
)
where

import Database.Beam.Backend.Types
Expand Down

0 comments on commit 3b0c00b

Please sign in to comment.