puristajs / purista

A typescript framework for building backend services and api in modern, modular and scalable way with event-driven patterns

Home Page:https://purista.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix: getCommandFunction returns wrong input types

sebastianwessel opened this issue · comments

the getCommandFunction function returns the wrapped command function with input validation, but the types refer to the types after validation.
So optionals with default are not typed correctly.

fixed in 1.10.0