Commit Graph
5346 Commits
Author SHA1 Message Date
gcanti a8398e2201 Schema: keyof POC 2022-11-22 14:54:46 +01:00
gcanti adb274bc1b better pick / omit management 2022-11-22 14:54:46 +01:00
gcanti 4f0bf8e408 Meta: add comments with examples 2022-11-22 14:54:46 +01:00
gcanti a0edd69a00 Meta: remove IndexSignature member 2022-11-22 14:54:46 +01:00
gcanti 0966fb768f Meta: remove Array member 2022-11-22 14:54:46 +01:00
gcanti b229a890eb rename typeclasses 2022-11-22 14:54:46 +01:00
gcanti 435d09a696 Arbitrary: more derivations 2022-11-22 14:54:46 +01:00
gcanti 685b257cc9 Schema: remove getDeclarations 2022-11-22 14:54:46 +01:00
gcanti 92462dc16a Meta: remove any, never, unknown 2022-11-22 14:54:46 +01:00
gcanti ef0d91df99 more FromSchema derivations 2022-11-22 14:54:46 +01:00
gcanti 8fc363c0e6 memoize interpreters 2022-11-22 14:54:46 +01:00
gcanti 30303bd607 polish 2022-11-22 14:54:46 +01:00
gcanti ce985a400b spin up unsafeEncoderFor 2022-11-22 14:54:46 +01:00
gcanti 5b9f1a9488 add /data/Json 2022-11-22 14:54:46 +01:00
gcanti 457c811f4e Decoder: add lazy support 2022-11-22 14:54:46 +01:00
gcanti b356892f81 make Decoder a Schema 2022-11-22 14:54:46 +01:00
gcanti 16df77c258 make Show a Schema 2022-11-22 14:54:46 +01:00
gcanti 347f15699b pick / omit experimental support for lazy 2022-11-22 14:54:46 +01:00
gcanti 2b21176575 add symbol field to Lazy 2022-11-22 14:54:46 +01:00
gcanti 86d239b0ed rename interpreters to unsafe* 2022-11-22 14:54:46 +01:00
gcanti 0c71e4fc8c test mutually recursive schemas 2022-11-22 14:54:46 +01:00
gcanti f22c1be88c Schema: remove declarations field 2022-11-22 14:54:46 +01:00
gcanti 488404c169 start Lazy support 2022-11-22 14:54:46 +01:00
gcanti e91426d76e Meta: add any 2022-11-22 14:54:46 +01:00
gcanti 388aa5e5f9 Meta: add unknown 2022-11-22 14:54:46 +01:00
gcanti 727d9c847c Meta: add never 2022-11-22 14:54:46 +01:00
gcanti 5f992502d9 SchemableFunctor: add nullable, nullish 2022-11-22 14:54:46 +01:00
gcanti b479baadf9 rename Equal to Of 2022-11-22 14:54:46 +01:00
gcanti a76c6dc36f add some typeclasses 2022-11-22 14:54:46 +01:00
gcanti 1f71d54c8b fix variance 2022-11-22 14:54:46 +01:00
gcanti 669fba66de Arbitrary: remove declarations from arbitraryFor 2022-11-22 14:54:46 +01:00
gcanti fa611a2574 make Arbitrary a Schema 2022-11-22 14:54:46 +01:00
gcanti 0dd8ad2c1c Schema: add declarations field 2022-11-22 14:54:46 +01:00
gcanti 8fd6298528 Guard: Guard as Schema 2022-11-22 14:54:46 +01:00
gcanti 397469b5d9 Schema: turn into interface 2022-11-22 14:54:46 +01:00
gcanti 951d195b0f Guard: add alias, mapSchema pocs 2022-11-22 14:54:46 +01:00
gcanti cc62c2e949 Guard: add declarations and schema fields 2022-11-22 14:54:46 +01:00
gcanti 4a6bce57a8 poc: crazyStruct 2022-11-22 14:54:46 +01:00
gcanti ea2ef2f59a poc of other schema combinators (pick, omit, ...) 2022-11-22 14:54:46 +01:00
gcanti 00d5d751ba Meta: add Boolean 2022-11-22 14:54:46 +01:00
gcanti 5977b97c2b make declarations stateless 2022-11-22 14:54:46 +01:00
gcanti aa0761bc89 handle config in all interpreters 2022-11-22 14:54:46 +01:00
gcanti c6acb28ee5 Meta: remove boolean 2022-11-22 14:54:46 +01:00
gcanti 82f9b1242c Meta: add config to Apply 2022-11-22 14:54:46 +01:00
gcanti f4229a1dd5 add Apply 2022-11-22 14:54:46 +01:00
gcanti 08cab222de refactor declarations 2022-11-22 14:54:46 +01:00
gcanti b0cf316e63 Meta: rename Tag to Declare 2022-11-22 14:54:46 +01:00
gcanti a8003764a8 rename Literal to Equal 2022-11-22 14:54:46 +01:00
gcanti ac3084b746 Meta: rename Service to Tag 2022-11-22 14:54:46 +01:00
gcanti 2b4264e886 Meta: rename Constructor to Service 2022-11-22 14:54:46 +01:00