An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

wireform-derive

Shared Modifier annotation vocabulary and Template Haskell reflection machinery used by per-format wireform-* deriver packages (wireform-proto, wireform-cbor, wireform-msgpack, wireform-thrift, wireform-avro, wireform-bson, …). . A single {-# ANN ... #-} pragma on a Haskell record drives instance generation for every wire format the user opts into. The vocabulary lives in Wireform.Derive.Modifier: . * rename, renameStyle, renameWith, renameIdiomatic -- wire-key text overrides. * tag N -- explicit field number Thrift field ID Bond ID / Iceberg field ID. * skip, defaults, required, optional, coerced, flatten, wireOverride -- standard knobs. * forBackend forBackends disableFor -- per-backend overrides that shadow globals without conflicting. * mapKey, oneof -- format-specific shape hints. * extension -- typed per-backend payloads via the BackendModifier typeclass. . See the umbrella wireform package for the full multi-format story. Inspired by riz0id's serde-th and Aeson's aeson-th.

Ecosystem
hackage.haskell.org
Latest Release
0.1.0.0
about 7 hours ago
Versions
1
Downloads
0 total
Links
Registry hackage.haskell.org
Source Repository
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/wireform-derive
spec
License BSD-3-Clause
First Release about 7 hours ago
Last Synced about 7 hours ago