When we translate from Argument (src/codec/Arguments.ts func argumentsBuilders) to Builder (src/protocol/Protocol.ts ctor)
we take apart the arg and use switch over the type as string to create a builder where the type is number ... this seems unneeded ...
why not just push the switch over string into the builder ?
When we translate from Argument (src/codec/Arguments.ts func argumentsBuilders) to Builder (src/protocol/Protocol.ts ctor)
we take apart the arg and use switch over the type as string to create a builder where the type is number ... this seems unneeded ...
why not just push the switch over string into the builder ?