mirror of
https://github.com/logos-storage/nim-serde.git
synced 2026-01-02 13:43:06 +00:00
Adds comments to chronicles issue
This commit is contained in:
parent
6ddda0f138
commit
388be95f68
@ -185,6 +185,7 @@ proc fromJson*[T: ref object or object](_: type T, json: JsonNode): ?!T =
|
||||
let isOptionalValue = typeof(value) is Option
|
||||
var skip = false # workaround for 'continue' not supported in a 'fields' loop
|
||||
|
||||
# logScope moved into proc due to chronicles issue: https://github.com/status-im/nim-chronicles/issues/148
|
||||
logScope:
|
||||
topics = "serde json deserialization"
|
||||
|
||||
|
||||
@ -96,6 +96,7 @@ proc `%`*[T: object or ref object](obj: T): JsonNode =
|
||||
let hasSerialize = value.hasCustomPragma(serialize)
|
||||
var skip = false # workaround for 'continue' not supported in a 'fields' loop
|
||||
|
||||
# logScope moved into proc due to chronicles issue: https://github.com/status-im/nim-chronicles/issues/148
|
||||
logScope:
|
||||
topics = "serde json serialization"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user