1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-14 02:33:03 +02:00
Commit Graph

44 Commits

Author SHA1 Message Date
Tony Chen
0bcdb8d59c
fix(encoding/form): encode optional value (#2155)
* fix form encode optional value

* fix test

Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
2022-07-07 22:53:28 +08:00
shengzhou
5df19c47d8
test(encoding/form): well konw types test (#2147) (#2160) 2022-07-07 22:06:56 +08:00
haiyux
25c5996360
fix:fix url ptr not encode (#2117) 2022-06-26 00:25:31 +08:00
Tony Chen
a0e624c0b8
fix(binding): fix bind field mask (#2112)
* fix bind field mask


Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
2022-06-19 20:16:58 +08:00
Comolli
ec78198050
feat: decode google.protobuf.BytesValue compatible base64.URLEncoding. (#1991) 2022-05-19 22:37:44 +08:00
qi
c8c870b77f
fix: query params: parse list failed, unsupported message type: "google.protobuf.Struct" #1967 (#1989)
* feat: Support google.protobuf.Struct in query parameters.

* style: add a blank line in test proto file.
2022-05-17 22:58:28 +08:00
haiyux
9dec67bddd
update contrib readme (#1831) 2022-02-21 18:37:20 +08:00
haiyux
00c05e82a3
test:remove testify go mod (#1766)
* test:remove testify go mod

* tidy go mdo

* fix test
2022-01-14 10:02:42 +08:00
Tony Chen
11a6120a2e
fix FieldMask are converted to/from lower-camel naming conventions. (#1724) 2021-12-28 20:31:23 +08:00
Soul
0fad751032
feat(form/form): add support google.protobuf.Struct; (#1617)
Co-authored-by: soul <chenzhiag@163.com>
2021-11-10 23:21:44 +08:00
海雨
eb0730a1b0
feat: add encodeing test (#1573) 2021-10-21 12:47:00 +08:00
海雨
fecfb7dc86
test: arrangement test proto and add test (#1567)
* arrangement test proto and add test
2021-10-20 21:43:44 +08:00
海雨
ad7df8d4bc
fix: fix encode form well known message bug (#1568)
fix: fix encode form well known message bug
2021-10-20 17:00:55 +08:00
longxboy
210e414e6f
fix: fix encode proto well known types in form and url query (#1559)
* fix encode proto well known types
2021-10-17 15:36:43 +08:00
Kagaya
f7588a47de
fix: ci lint error (#1391)
* fix lint check

* fix lll lint error

* fix build error

* fix gomnd

* fix shadow declaration

* add make test command

* update
2021-08-31 10:14:57 +08:00
包子
7b6332ee75
deps: middleware add separate go.mod and removes framework deps (#1385)
* deps: middleware add separate go.mod and removes framework deps
2021-08-30 23:07:31 +08:00
yuemoxi
0dfab173f9
fix:modify encoding test proto path (#1388)
* fix:modify encoding test proto  path

* fix

* fix

* fix
2021-08-28 22:39:51 +08:00
yuemoxi
a67ec16bf0
test(internal/context,internal/host) add test (#1334)
* test(internal/context,internal/host) add test
2021-08-25 23:56:28 +08:00
aiscrm
0b09fcd76d
refactor(encoding): optimize json encoding (#1339)
* fix(encoding): optimize json encoding, add support for other encoding implementation such as easyjson etc.

Co-authored-by: corel <corelchen@qq.com>
2021-08-17 09:19:57 +08:00
zwhyb
d4ac341bc8
http get方法 url 参数带中括号 (#1226)
* fix url query array problem

* use TrimSuffix
2021-07-23 22:37:17 +08:00
Yongzheng Lai
97222012e4
fix: using rv directly (#1213) 2021-07-23 09:22:39 +08:00
喵喵大人
4780b6e1fd
ci(github action): use golangci-lint to replace the deprecated golint (#1175)
* ci: use golangci-lint to replace the deprecated golint

Co-authored-by: ymh199478 <yumenghan@bilibili.com>
2021-07-12 18:09:38 +08:00
longxboy
23a7f15541
add form for codec (#1158)
* add form for http codec
2021-07-08 13:05:21 +08:00
youn
c268f98404
add form encoding (#1138)
* add form encoding

* update examples go mod
2021-07-01 20:36:12 +08:00
IMTTX
0cdeb6c16b
fix typos (#1128) 2021-06-30 11:55:01 +08:00
Windfarer
4e96e08471
config test (#1063)
* init test

* reader test
2021-06-16 15:28:54 +08:00
Tony Chen
00088f644a
examples: clean examples (#1036)
* clean examples

* update yaml to v3
2021-06-12 20:20:18 +08:00
Tony Chen
1b13abd136
transport/http: add http route (#1029)
* add http route

* fix http context

* add HTTP middleware

Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-12 18:30:17 +08:00
Tony Chen
4a257c1a34
Revert "add json test (#1031)" (#1033)
This reverts commit 6ca3c788dd.
2021-06-12 11:52:48 +08:00
Tony Chen
6ca3c788dd
add json test (#1031) 2021-06-12 11:19:43 +08:00
Tony Chen
5cbda8ebd7
remove proto names (#1006) 2021-06-04 22:15:53 +08:00
Cluas
49064e7232
encoding: remove reflect on yaml and xml (#1005) 2021-06-04 16:35:55 +08:00
Cluas
c547c61f89
json: uses proto field name instead of lowerCamelCase name (#985) 2021-06-01 17:18:33 +08:00
longxboy
c1e5b1c17b
add protojson (#952) 2021-05-26 14:45:12 +08:00
Tony Chen
e989bb04e3
add yaml encoder (#924) 2021-05-17 21:52:23 +08:00
Cluas
7e7bbdbed6
encoding/xml: add xml encode support (#905)
* encoding/xml: add xml encode support

* encoding/xml: avoid nil pointer panic

* action: avoid go get golint pollution go.mod
2021-05-11 11:36:20 +08:00
Tony Chen
d85f5e9ae1
encoding/json: fix nil value (#884)
* fix nil value
2021-04-29 15:49:44 +08:00
Tony Chen
32f7322b82
fix nil target (#774) 2021-03-16 23:34:20 +08:00
Tony Chen
28009889bb
encoding/json: remove proto json (#753)
* remove protojson encoding
2021-03-10 22:32:43 +08:00
Tony Chen
50af5b2588
add before&after hooks (#751)
* add before&after hooks
2021-03-07 21:35:52 +08:00
Tony Chen
f86c91849b
fix lint check (#746) 2021-03-05 22:40:38 +08:00
Tony Chen
946e9ca814
fix http decode (#742)
* fix http decoder
2021-03-05 18:52:39 +08:00
Tony Chen
496edc6fb1
Http/refactor register service (#734)
* refactor http handle
2021-03-03 22:22:59 +08:00
chenzhihui
3566386a89 init v2 2021-02-17 17:14:47 +08:00