v0.0.449
All checks were successful
Build Docker and Deploy / Run goext test-suite (push) Successful in 1m15s

This commit is contained in:
Mike Schwörer 2024-05-12 16:51:52 +02:00
parent fe4cdc48af
commit d44e971325
Signed by: Mikescher
GPG Key ID: D3C7172E0A70F8CF
2 changed files with 3 additions and 3 deletions

View File

@ -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"

View File

@ -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
}