deprecate: params=single-object preference

This commit is contained in:
steve-chavez
2024-01-04 17:00:38 -05:00
committed by Steve Chavez
parent b2095a8ef6
commit 6c3d7a946d
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -9,6 +9,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- #2887, Add Preference `max-affected` to limit affected resources - @taimoorzaeem
### Deprecated
- `Prefer: params=single-object` is deprecated. Use [a function with a single unnamed JSON parameter](https://postgrest.org/en/latest/references/api/stored_procedures.html#s-proc-single-json) instead. - @steve-chavez
## [12.0.2] - 2023-12-20
### Fixed
+1
View File
@@ -232,6 +232,7 @@ instance ToHeaderValue PreferRepresentation where
toHeaderValue HeadersOnly = "return=headers-only"
-- | How to pass parameters to stored procedures.
-- TODO: deprecated. Remove on next major version.
data PreferParameters
= SingleObject -- ^ Pass all parameters as a single json object to a stored procedure.
deriving Eq