Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

潜在的なバグ(軽微): createdAtとcreateTimeが混在したときにエラーを吐くべき #60

Open
yukatayu opened this issue Aug 11, 2020 · 0 comments · May be fixed by #63
Labels
bug Something isn't working

Comments

@yukatayu
Copy link
Contributor

yukatayu commented Aug 11, 2020

現状の処理だとおそらく上書きされる

dynamodb-repo/main.go

Lines 145 to 155 in 4d8054f

switch name {
case CreatedAt, CreateTime:
gen.EnableCreateTime = true
gen.CreateTimeName = name
gen.CreateTimeType = typeName
case UpdatedAt, UpdateTime:
gen.EnableUpdateTime = true
gen.UpdateTimeName = name
gen.UpdateTimeDynamoTag = name
gen.UpdateTimeType = typeName
}

@yukatayu yukatayu self-assigned this Aug 11, 2020
@yukatayu yukatayu added the bug Something isn't working label Aug 11, 2020
@yukatayu yukatayu linked a pull request Aug 14, 2020 that will close this issue
@yukatayu yukatayu removed their assignment Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant