Closed pietroppeter closed 1 year ago
(alternative to #51)
I think your PR fails to due to issue: https://github.com/nim-lang/Nim/issues/21317
If CI is approved I would expect it now to be green. I also fixed the conflict with master.
CI is green and no conflicts with master. Any thoughts?
fix #50 by allowing to declare a skipHook to skip fields. works at compile time. also added a new test file with a test case and a new hook section in the readme:
proc skipHook*()
Can be used to skip fields when serializing an objectIf you want to skip some fields when serializing an object you can declare a
skipHook*()
Gives us: