diff --git a/goextVersion.go b/goextVersion.go index 6cf06cb..dc7ca59 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.448" +const GoextVersion = "0.0.449" -const GoextVersionTimestamp = "2024-05-12T16:45:45+0200" +const GoextVersionTimestamp = "2024-05-12T16:51:52+0200" diff --git a/wmo/collection.go b/wmo/collection.go index b638ac9..8431e3f 100644 --- a/wmo/collection.go +++ b/wmo/collection.go @@ -95,7 +95,7 @@ func (c *Coll[TData]) WithUnmarshalHook(fn func(d TData) TData) *Coll[TData] { // WithMarshalHook // function that is called for every object before writing to DB func (c *Coll[TData]) WithMarshalHook(fn func(d TData) TData) *Coll[TData] { - c.extraModPipeline = append(c.marshalHooks, fn) + c.marshalHooks = append(c.marshalHooks, fn) return c }