You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be good to have a way to enhance a feature. For example, if I create a type Date and I want to ensure that an object of type Date is equal to a value, I would like to override the current equal feature to treat my Date object.
We could have, for example:
functionreplaceFeature(name, replaceFn)
Where name is the name of the replaced feature, and replaceFn is a function taking the previous function as first parameter and returning a new function managing the new behavior.
The text was updated successfully, but these errors were encountered:
It would be good to have a way to enhance a feature. For example, if I create a type
Date
and I want to ensure that an object of typeDate
is equal to a value, I would like to override the currentequal
feature to treat myDate
object.We could have, for example:
Where
name
is the name of the replaced feature, andreplaceFn
is a function taking the previous function as first parameter and returning a new function managing the new behavior.The text was updated successfully, but these errors were encountered: