diff options
author | Michael Muré <batolettre@gmail.com> | 2022-03-10 16:34:57 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2022-03-10 16:37:24 +0100 |
commit | fd14a0763ebf0bcdf6a719aafcbf73f7f5153400 (patch) | |
tree | 8b797bce977386b85ade31c5601d49d6e2ac4336 /entity/dag/entity.go | |
parent | df55cc49a85eaf3a2d3c2ceb1fbcccac19fa6eb8 (diff) | |
download | git-bug-fd14a0763ebf0bcdf6a719aafcbf73f7f5153400.tar.gz |
entity: allow to resolve identities when numashalling operations
Diffstat (limited to 'entity/dag/entity.go')
-rw-r--r-- | entity/dag/entity.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/entity/dag/entity.go b/entity/dag/entity.go index c4368514..60adcbe6 100644 --- a/entity/dag/entity.go +++ b/entity/dag/entity.go @@ -26,7 +26,7 @@ type Definition struct { // the Namespace in git (bugs, prs, ...) Namespace string // a function decoding a JSON message into an Operation - OperationUnmarshaler func(author identity.Interface, raw json.RawMessage) (Operation, error) + OperationUnmarshaler func(author identity.Interface, raw json.RawMessage, resolver identity.Resolver) (Operation, error) // the expected format version number, that can be used for data migration/upgrade FormatVersion uint } |