mirror of
https://github.com/nikita-volkov/hasql.git
synced 2024-11-22 01:52:45 +03:00
Revert "Change the OID of composites from unknown to record"
This reverts commit 25f05bae79
.
This commit is contained in:
parent
25f05bae79
commit
3f85f643f2
@ -304,7 +304,7 @@ array (Array (Array.Array valueOID arrayOID arrayEncoder renderer)) =
|
||||
-- Lift a composite encoder into a value encoder.
|
||||
composite :: Composite a -> Value a
|
||||
composite (Composite encode print) =
|
||||
Value (Value.unsafePTI PTI.record encodeValue printValue)
|
||||
Value (Value.unsafePTI PTI.binaryUnknown encodeValue printValue)
|
||||
where
|
||||
encodeValue idt val =
|
||||
A.composite $ encode val idt
|
||||
|
Loading…
Reference in New Issue
Block a user