Jan Plaček
03/07/2022, 6:22 PMdefaultFunctionProps
on Api
.?
Once I create the function manually so it can be reused, it throws:
The "defaultFunctionProps" cannot be applied if an instance of a Function construct is passed in.
thdxr
03/07/2022, 6:23 PMthdxr
03/07/2022, 6:23 PMJan Plaček
03/07/2022, 6:31 PMJan Plaček
03/07/2022, 6:39 PMcreateFunctionFactory(defaults)(functionProps)
that would handle merging the defaults would be better then the current "inheritance" approachJan Plaček
03/07/2022, 6:56 PM"GET,POST /path": {}
Frank
Frank
Frank
Frank