sdkgen/sdkgen

Spreads on functions

Closed this issue · 0 comments

Suggestion of a new feature for SDKGEN, the possibility to use spreads on function parameters.

type AddAccountParams {
	name: string
	age: unit
	email: email
	password: string
}

fn addAccount(...AddAccountParams): AddAccountModel

It would be great to be able to get the parameter types of a function in the code implementation.