We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 688808a + 7c1715d commit 1bece68Copy full SHA for 1bece68
src/Data/Codec/Argonaut/Migration.purs
@@ -1,3 +1,12 @@
1
+-- | Codecs that provide forward migrations. In a forward migration, the decoder
2
+-- | migrates to the new format while decoding from JSON and the encoder uses
3
+-- | the new format while encoding to JSON.
4
+-- |
5
+-- | If you need more control over a forward migration, the `Functor` instance
6
+-- | allows operating on the underlying `Json` value directly.
7
8
+-- | If you need both forward and backward migrations, the `Profunctor` instance
9
+-- | allows operating on the underlying `Json` value directly in both directions.
10
module Data.Codec.Argonaut.Migration
11
( addDefaultField
12
, updateField
0 commit comments