Commit Graph

113 Commits (master)

Author SHA1 Message Date
Kevin Wan 159ecb7386
chore: fix warnings (#3989) 8 months ago
Kevin Wan a1bacd3fc8
feat: a concurrent runner with messages taken in pushing order (#3941) 8 months ago
MarkJoyMa 88aab8f635
fix: mapping FillDefault is optional! bug (#3940) 8 months ago
fffreedom e38cb0118d
when the Unmarshaler parsing value by fillSliceFromString, if the val… (#3927)
Co-authored-by: danahan <danahan@tencent.com>
8 months ago
Kevin Wan 44d347d48a
fix: issue #3840 (#3846) 10 months ago
Kevin Wan 408827d876
fix: issue 3840 (#3845) 10 months ago
Kevin Wan 7822a4c1cb
chore: refactor mapping errors (#3843) 10 months ago
Remember 0441f84606
fix(mapping): call fillSliceValue panic if the value is nil (#3839) 10 months ago
Kimjin-gd 6ec38ec056
fix: negative float32 overflow when unmarshalling (#3811)
Co-authored-by: kim1.jin <kim1.jin@bkyo.io>
10 months ago
Kevin Wan 4f22034342
fix: unmarshal from number to string with incorrect error message (#3625) 1 year ago
Kevin Wan abd1fa96a9
fix: UpdateStmt doesn't update the statement correctly in sqlx/bulkinserter.go (#3607) 1 year ago
Kevin Wan 5aedd9c076
chore: simplify parsing numbers with overflow (#3610) 1 year ago
Kevin Wan 0ee7a271d3
fix: avoid float overflow in mapping.Unmarshal (#3590) 1 year ago
Kevin Wan ded2888759
fix: avoid integer overflow in mapping.Unmarshal (#3582) 1 year ago
Kevin Wan 974252980c
chore: upgrade grpc (#3570) 1 year ago
Kevin Wan 0423313d9b
feat: support json:"-" in mapping (#3521) 1 year ago
Kevin Wan cb3ffc76a3
fix: #3478 (#3493) 1 year ago
Kevin Wan ce5e78db53
chore: use jsonTagKey to replace json literals (#3479) 1 year ago
Kevin Wan c3f57e9b0a
chore: fix potential nil pointer errors (#3454) 1 year ago
MarkJoyMa 42bfa26e2b
fix: remove mapping redundant error (#3439) 1 year ago
Kevin Wan ff04356704
fix: format error should not trigger circuit breaker in sqlx (#3437) 1 year ago
MarkJoyMa 05db706c62
feat: optimize mapping error (#3438) 1 year ago
Kevin Wan 0c6eaeda9f
chore: coding style (#3413) 1 year ago
Xinyan Lu b9c0c0f8b5
feat: add detail type mismatch info in number fields check (#3386) (#3387) 1 year ago
Kevin Wan 6b4d0d89c0
chore: add more tests (#3324) 1 year ago
Kevin Wan 8b4382dcec
chore: add more tests (#3286) 1 year ago
Kevin Wan fa33329a44
chore: add more tests (#3282) 1 year ago
Kevin Wan 4a2a8d9e45
chore: add more tests (#3279) 1 year ago
Kevin Wan 7568674b2b
chore: use %q instead of %s for unmarshaling (#3163) 2 years ago
Kevin Wan 02357d2616
chore: make error message more readable (#3154) 2 years ago
guangwu 489d69f779
Add debug message on unmarshal errors (#3153) 2 years ago
Kevin Wan e13fd62d38
chore: coding style (#3106)
Co-authored-by: cong <zhangcong1992@gmail.com>
2 years ago
MarkJoyMa 2e6402f4b5
fix: fillDefault, handling of nested structs (#3072) 2 years ago
Kevin Wan 9c6b516bb8
fix: #3058 (#3059) 2 years ago
Kevin Wan 4cef2b412c
fix: avoid unmarshal panic with incorrect map keys #3002 (#3013) 2 years ago
anqiansong d40000d4b9 fix typo 2 years ago
kevin a972f400c6 fix: test failure 2 years ago
MarkJoyMa 7086fb6dda x 2 years ago
MarkJoyMa 142c46228b x 2 years ago
MarkJoyMa ba771f8ff1 add ut 2 years ago
MarkJoyMa f3cf891d4f feat: conf add FillDefault func 2 years ago
qiying.wang 148afcf1a7 chore: remove redundant prefix of "error: " in error creation 2 years ago
Kevin Wan 434973c206
fix: test failure (#2874) 2 years ago
Mikael 84f9863b63
only unmashal public variables (#2872)
* only unmashal public variables

* only unmashal public variables

* only unmashal public variables

* only unmashal public variables
2 years ago
Kevin Wan ae87114282
chore: change interface{} to any (#2818)
* chore: change interface{} to any

* chore: update goctl version to 1.5.0

* chore: update goctl deps
2 years ago
Kevin Wan c9b05ae07e
fix: mapping optional dep not canonicaled (#2807) 2 years ago
Kevin Wan 4d7fa08b0b
feat: support **struct in mapping (#2784)
* feat: support **struct in mapping

* chore: fix test failure
2 years ago
Kevin Wan 367afb544c
feat: support ptr of ptr of ... in mapping (#2779)
* feat: support ptr of ptr of ... in mapping

* feat: support ptr of ptr of time.Duration in mapping

* feat: support ptr of ptr of json.Number in mapping

* chore: improve setting in mapping

* feat: support ptr of ptr encoding.TextUnmarshaler in mapping

* chore: add more tests

* fix: string ptr

* chore: update tests
2 years ago
Kevin Wan bae061a67e
chore: add tests (#2778) 2 years ago
Kevin Wan 0b176e17ac
fix: #2576 (#2776) 2 years ago