Open gabbhack opened 2 years ago
Foo = ref Bar
cases, for consistency. The library should provide a generalized function to de/serialize ref types based on generated serialization functions for base types.distinct
is removed from the priorities for this release. A way to de/serialize distinct
types should be documented as part of this release.
Documentation
General
serialize
anddeserialize
proceduresrunnableExample
. pragmas too.Deserialize
untagged
pragma and multiple conditions inof
.Serialize
Contribution
make
macrosNot documentation
make...
macros must raise an error.Error: Expected one of {nnkSym, nnkObjectTy, nnkRefTy}
formake...
macrosUse renamed instead of renameSerialize and renameDeserialize
alias
pragma. Like thisdeserWith
pragma. Like thisskipPrivate
pragmafield {.defaultValue.}
instead offield {.defaultValue(value).}
renameAll
as pragma for support distinct types and inheritance