mirror of
https://github.com/fluencelabs/aqua.git
synced 2025-04-25 06:52:13 +00:00
Replace null to undefined in json to register services and functions properly (#335)
This commit is contained in:
parent
2f1d5a0760
commit
9933b38ded
@ -53,7 +53,7 @@ case class OutputFunc(func: FuncRes, types: Types) {
|
|||||||
| `
|
| `
|
||||||
| return callFunction(
|
| return callFunction(
|
||||||
| args,
|
| args,
|
||||||
| ${funcDef.asJson.spaces4},
|
| ${funcDef.asJson.deepDropNullValues.spaces4},
|
||||||
| script
|
| script
|
||||||
| )
|
| )
|
||||||
|}""".stripMargin
|
|}""".stripMargin
|
||||||
|
@ -29,7 +29,7 @@ case class OutputService(srv: ServiceRes, types: Types) {
|
|||||||
|export function register${srv.name}(${typed("...args", "any")}) {
|
|export function register${srv.name}(${typed("...args", "any")}) {
|
||||||
| registerService(
|
| registerService(
|
||||||
| args,
|
| args,
|
||||||
| ${serviceDef.asJson.spaces4}
|
| ${serviceDef.asJson.deepDropNullValues.spaces4}
|
||||||
| );
|
| );
|
||||||
|}
|
|}
|
||||||
""".stripMargin
|
""".stripMargin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user