Skip to content

Commit

Permalink
Support google.protobuf.Value/Struct in query parameters (#2628)
Browse files Browse the repository at this point in the history
* support google.protobuf.Value

* Update runtime/query.go

great~ thank you~

Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>

* add testcases for struct.Value support

* add google.protobuf.Struct support

* try to fix testcase

* Revert "try to fix testcase"

This reverts commit e5f910f.

* try to fix testcase

Co-authored-by: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
  • Loading branch information
wclssdn and johanbrandhorst committed Apr 10, 2022
1 parent 4e04fda commit 99105a8
Show file tree
Hide file tree
Showing 5 changed files with 305 additions and 195 deletions.
1 change: 1 addition & 0 deletions runtime/BUILD.bazel
Expand Up @@ -38,6 +38,7 @@ go_library(
"@org_golang_google_protobuf//reflect/protoreflect",
"@org_golang_google_protobuf//reflect/protoregistry",
"@org_golang_google_protobuf//types/known/durationpb",
"@org_golang_google_protobuf//types/known/structpb",
"@org_golang_google_protobuf//types/known/timestamppb",
"@org_golang_google_protobuf//types/known/wrapperspb",
],
Expand Down

0 comments on commit 99105a8

Please sign in to comment.