deprecate: params=single-object preference
This commit is contained in:
committed by
Steve Chavez
parent
b2095a8ef6
commit
6c3d7a946d
@@ -9,6 +9,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
- #2887, Add Preference `max-affected` to limit affected resources - @taimoorzaeem
|
- #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
|
## [12.0.2] - 2023-12-20
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -232,6 +232,7 @@ instance ToHeaderValue PreferRepresentation where
|
|||||||
toHeaderValue HeadersOnly = "return=headers-only"
|
toHeaderValue HeadersOnly = "return=headers-only"
|
||||||
|
|
||||||
-- | How to pass parameters to stored procedures.
|
-- | How to pass parameters to stored procedures.
|
||||||
|
-- TODO: deprecated. Remove on next major version.
|
||||||
data PreferParameters
|
data PreferParameters
|
||||||
= SingleObject -- ^ Pass all parameters as a single json object to a stored procedure.
|
= SingleObject -- ^ Pass all parameters as a single json object to a stored procedure.
|
||||||
deriving Eq
|
deriving Eq
|
||||||
|
|||||||
Reference in New Issue
Block a user