386a978310
The Go generator only supports certain types as query and path parameters and it panics on any an unsupported type. The Document and TypeScript generator don't have any validation for them. TypeScript generator generates code that compiles, however, it won't work properly with all the types not supported by the Go generator. Because it doesn't make sense that some types may work on the TypeScript generator, while the Go generator doesn't, doing the validation in the Param constructor is better because it reports the issue without having to run the Go generator and it gives a more understanding panic message. TypeScript generator generates code that works properly with all the types supported by the Go generator, hence, there isn't any change int he TypeScript generator in this commit. Change-Id: I03085283942a98341726a1560f511a46540df9f5 |
||
---|---|---|
.. | ||
api | ||
apigen | ||
blockchain | ||
compensation | ||
crashreportpb | ||
cui | ||
currency | ||
date | ||
debugging | ||
kvstore | ||
lifecycle | ||
migrate | ||
multinodeauth | ||
multinodepb | ||
nodeoperator | ||
post | ||
prompt | ||
revocation | ||
server | ||
testmonkit | ||
testplanet | ||
testredis | ||
testrevocation | ||
teststorj | ||
testuplink | ||
version | ||
web |