fuels-ts
fuels-ts copied to clipboard
Consider renaming method `call` to `submit`
Follows the ideas from:
- https://github.com/FuelLabs/fuels-ts/issues/1451
We must first check for any problem or incoherence before renaming all call
methods to submit
.
The goal is to achieve improved semantics.
[!NOTE] Validate the impact of breaking changes with the @FuelLabs/frontend team.
what happens with callParams
?
it's not a problem to be a breaking change if it makes sense and implement a consistent pattern across sdk
We could also rename call
-> submit
but maintain the API, and keep a call
function that calls submit
if we are concerned about a breaking change. And annotate the deprecation.
@LuizAsFight Good point.
Maybe something like requestParams()
and submit()
could work well together.