diff options
author | Michael Muré <batolettre@gmail.com> | 2022-03-10 16:56:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-10 16:56:46 +0100 |
commit | 069a4c975f945f153c5b1802305f13c1c4e82927 (patch) | |
tree | e24bfb44747bf150b0d5bc6f87a7c54e06264fb2 /entity/dag/entity.go | |
parent | b1fc312aac59af299cadb394d67d3de6c9026b4f (diff) | |
parent | fd14a0763ebf0bcdf6a719aafcbf73f7f5153400 (diff) | |
download | git-bug-069a4c975f945f153c5b1802305f13c1c4e82927.tar.gz |
Merge pull request #763 from MichaelMure/resolve-entity
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 ffdbe335..0760cdec 100644 --- a/entity/dag/entity.go +++ b/entity/dag/entity.go @@ -26,7 +26,7 @@ type Definition struct { // the Namespace in git references (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 } |