Skip to content

Update ignores SerializerValuerInterface of UpdatedAt #279

@generikvault

Description

@generikvault

GORM Playground Link

go-gorm/playground#772

Description

On SQLite with a custom SerializerInterface and SerializerValuerInterface datetime type for CreatedAt and UpdatedAt:

Insert works fine but on Update time.Time is used instead of the custom SerializerValuerInterface

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions