gabrielguerrero / ngrx-traits

NGRX Traits is a library to help you compose and reuse state logic in your angular app. There is two versions, @ngrx-traits/signals supports ngrx-signals, and @ngrx-traits/{core, common} supports ngrx.
MIT License
44 stars 3 forks source link

withCalls methods should be restricted to only have up to one param #78

Closed gabrielguerrero closed 1 month ago

gabrielguerrero commented 1 month ago

In withCalls config, we should restrict the param of the function to only have one param, this is because we transform the function inside to an rxMethod which can only take one param, if the users need multiple params they should do it by making the first param an object with multiple props

github-actions[bot] commented 1 month ago

:tada: This issue has been resolved in version 17.4.0-beta.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 1 month ago

:tada: This issue has been resolved in version 17.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: