refactor: move request body to a Payload.hs module

This commit is contained in:
Taimoor Zaeem
2025-07-26 08:50:56 +02:00
committed by Steve Chavez
parent aa58e37f03
commit 96571aa0f4
7 changed files with 213 additions and 174 deletions
+2 -2
View File
@@ -27,14 +27,14 @@ import qualified PostgREST.Query.Statements as Statements
import qualified PostgREST.SchemaCache as SchemaCache
import PostgREST.ApiRequest (ApiRequest (..),
Mutation (..))
import PostgREST.ApiRequest (ApiRequest (..))
import PostgREST.ApiRequest.Preferences (PreferCount (..),
PreferHandling (..),
PreferMaxAffected (..),
PreferTransaction (..),
Preferences (..),
shouldCount)
import PostgREST.ApiRequest.Types (Mutation (..))
import PostgREST.Auth.Types (AuthResult (..))
import PostgREST.Config (AppConfig (..),
OpenAPIMode (..))