go-gorm / go-gorm/datatypes

Update ignores SerializerValuerInterface of UpdatedAt

Open
#279 0 comments 0 reactions 1 assignee Claimed by @jinzhu View on GitHub
Dominant language
Go
Stars
831
Forks
124
PR merge metrics
No merged PRs in 30d

Description

## GORM Playground Link

https://github.com/go-gorm/playground/pull/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 `

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.