Add includeNil requiredField Check when custom struct field IsZero in Update method. #2438

Merged
lunny merged 7 commits from tylerthail2019/xorm:v1 into v1 2024-04-02 04:26:43 +00:00
Contributor

Add includeNil requiredField Check when custom struct field IsZero in Update method.

Add includeNil requiredField Check when custom struct field IsZero in Update method.
tylerthail2019 added 6 commits 2024-03-21 19:53:02 +00:00
add IsZero check for custom struct column in the Update method
Some checks failed
test cockroach / test cockroach (pull_request) Has been cancelled
test mariadb / test mariadb (pull_request) Has been cancelled
test mssql / test mssql with collation (pull_request) Has been cancelled
test mssql / test mssql (pull_request) Has been cancelled
test mysql / test mysql (pull_request) Has been cancelled
test mysql8 / test mysql8 (pull_request) Has been cancelled
test postgres / test postgres (pull_request) Has been cancelled
test sqlite / unit test & test sqlite (pull_request) Has been cancelled
test tidb / test tidb (pull_request) Has been cancelled
81bf7ac1eb
Merge branch 'v1' into v1
All checks were successful
test mssql / test mssql with collation (pull_request) Successful in 3m40s
test mariadb / test mariadb (pull_request) Successful in 4m18s
test mssql / test mssql (pull_request) Successful in 5m28s
test mysql / test mysql (pull_request) Successful in 3m3s
test cockroach / test cockroach (pull_request) Successful in 6m49s
test mysql8 / test mysql8 (pull_request) Successful in 4m30s
test postgres / test postgres (pull_request) Successful in 4m4s
test tidb / test tidb (pull_request) Successful in 3m34s
test sqlite / unit test & test sqlite (pull_request) Successful in 6m26s
ea84c93373
Add test for update method when custom struct column is zero value
Some checks failed
test mssql / test mssql with collation (pull_request) Successful in 3m9s
test mariadb / test mariadb (pull_request) Successful in 3m11s
test cockroach / test cockroach (pull_request) Successful in 5m21s
test mssql / test mssql (pull_request) Successful in 3m18s
test mysql / test mysql (pull_request) Successful in 3m50s
test postgres / test postgres (pull_request) Failing after 2m15s
test mysql8 / test mysql8 (pull_request) Failing after 3m27s
test tidb / test tidb (pull_request) Successful in 2m20s
test sqlite / unit test & test sqlite (pull_request) Failing after 4m8s
9237798868
Merge branch 'v1' into v1
Some checks failed
test mariadb / test mariadb (pull_request) Successful in 13m52s
test mssql / test mssql (pull_request) Successful in 14m22s
test mssql / test mssql with collation (pull_request) Successful in 14m29s
test cockroach / test cockroach (pull_request) Successful in 15m11s
test postgres / test postgres (pull_request) Failing after 7m26s
test mysql8 / test mysql8 (pull_request) Failing after 8m14s
test sqlite / unit test & test sqlite (pull_request) Failing after 8m13s
test mysql / test mysql (pull_request) Successful in 12m41s
test tidb / test tidb (pull_request) Successful in 11m33s
63f54e633a
Fix test
All checks were successful
test mariadb / test mariadb (pull_request) Successful in 14m15s
test mssql / test mssql (pull_request) Successful in 14m44s
test mssql / test mssql with collation (pull_request) Successful in 14m53s
test cockroach / test cockroach (pull_request) Successful in 15m34s
test mysql / test mysql (pull_request) Successful in 12m48s
test tidb / test tidb (pull_request) Successful in 12m19s
test mysql8 / test mysql8 (pull_request) Successful in 13m15s
test sqlite / unit test & test sqlite (pull_request) Successful in 13m45s
c4b5433155
Add includeNil requiredField when custom struct field IsZero in Update method. Add test
All checks were successful
test mssql / test mssql with collation (pull_request) Successful in 13m5s
test mariadb / test mariadb (pull_request) Successful in 13m27s
test mssql / test mssql (pull_request) Successful in 13m47s
test cockroach / test cockroach (pull_request) Successful in 14m34s
test mysql / test mysql (pull_request) Successful in 12m36s
test mysql8 / test mysql8 (pull_request) Successful in 12m56s
test postgres / test postgres (pull_request) Successful in 13m0s
test sqlite / unit test & test sqlite (pull_request) Successful in 13m7s
test tidb / test tidb (pull_request) Successful in 11m20s
a3687832fa
tylerthail2019 changed title from v1 to Add includeNil requiredField Check when custom struct field IsZero in Update method. 2024-03-21 20:01:26 +00:00
Owner

Please resolve the conflicts.

Please resolve the conflicts.
tylerthail2019 added 1 commit 2024-04-01 14:43:31 +00:00
merge v1
All checks were successful
test mariadb / test mariadb (pull_request) Successful in 12m59s
test mssql / test mssql with collation (pull_request) Successful in 13m27s
test cockroach / test cockroach (pull_request) Successful in 13m46s
test mssql / test mssql (pull_request) Successful in 12m26s
test mysql / test mysql (pull_request) Successful in 11m59s
test mysql8 / test mysql8 (pull_request) Successful in 12m10s
test tidb / test tidb (pull_request) Successful in 12m11s
test postgres / test postgres (pull_request) Successful in 12m49s
test sqlite / unit test & test sqlite (pull_request) Successful in 13m22s
8156ada1ed
lunny approved these changes 2024-04-02 04:25:47 +00:00
lunny added this to the 1.3.10 milestone 2024-04-02 04:26:11 +00:00
lunny merged commit 589acfff86 into v1 2024-04-02 04:26:43 +00:00
Sign in to join this conversation.
No description provided.