Skip to content

Commit 7fc096e

Browse files
authored
Merge pull request #1517 fixed optional param in ydb.ParamsBuilder
2 parents 6afc9a7 + 19cea5b commit 7fc096e

File tree

4 files changed

+126
-345
lines changed

4 files changed

+126
-345
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* Fixed send optional arguments to the server with `ydb.ParamsBuilder`
2+
13
## v3.88.0
24
* Removed UUID methods from ydb.ParamsBuilder()
35

internal/params/optional.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func (b *optionalBuilder) EndOptional() Builder {
2323
b.opt.parent.params = append(b.opt.parent.params, &Parameter{
2424
parent: b.opt.parent,
2525
name: b.opt.name,
26-
value: value.OptionalValue(b.opt.value),
26+
value: b.opt.value,
2727
})
2828

2929
return b.opt.parent

0 commit comments

Comments
 (0)