mirror of
https://github.com/valitydev/bouncer.git
synced 2024-11-06 02:15:18 +00:00
fix: Add bool encoding
This commit is contained in:
parent
fdfdcadd5b
commit
030030b3fe
@ -85,6 +85,8 @@ to_thrift_value(i32, V, _NameFun) ->
|
||||
to_thrift_value(i16, V, _NameFun) ->
|
||||
V;
|
||||
to_thrift_value(byte, V, _NameFun) ->
|
||||
V;
|
||||
to_thrift_value(bool, V, _NameFun) ->
|
||||
V.
|
||||
|
||||
from_thrift_struct(StructDef, Struct) ->
|
||||
@ -120,6 +122,8 @@ from_thrift_value(i32, V) ->
|
||||
from_thrift_value(i16, V) ->
|
||||
V;
|
||||
from_thrift_value(byte, V) ->
|
||||
V;
|
||||
from_thrift_value(bool, V) ->
|
||||
V.
|
||||
|
||||
identity(V) ->
|
||||
|
Loading…
Reference in New Issue
Block a user