t38c icon indicating copy to clipboard operation
t38c copied to clipboard

Expanding the scope of the builder field function

Open jakoguta opened this issue 1 year ago • 2 comments

The function Field(name string, value float64) in the builders take a value as a float64. This makes the function not support strings, boolean and JSON. However, when building the command, the float64 is converts to a string using floatString(val float64) string. Should it then just take a string as a value like so Field(name string, value string) thus allowing for support of the missing types?

jakoguta avatar Apr 05 '23 17:04 jakoguta

Also interested if there is any update here ^ As of the latest Tile38 update Field can accept more than just Float64 values. https://tile38.com/commands/set#fields

anwsimon avatar Jun 05 '23 14:06 anwsimon

bumping this thread once again, if t38c maintainers plan to support updated version of t38?

vishvanath-gojek avatar Aug 09 '23 20:08 vishvanath-gojek