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
Naturally, changing the shape of the method signature is a tricky undertaking, so potentially you could run a type check on the first param and keep the existing ones to allow backward compatibility?
The text was updated successfully, but these errors were encountered:
Yes this would be much better. I think a major version bump would be better to help people opt in rather then trying to maintain backwards compatibility. I can work on making this change this week.
Currently, the main lookup method is configured to accept a series of params:
The issue is if you are wanting to set only one of these, you need to pass
undefined
to the preceding params.A common pattern to help solve this scenario would be:
Naturally, changing the shape of the method signature is a tricky undertaking, so potentially you could run a type check on the first param and keep the existing ones to allow backward compatibility?
The text was updated successfully, but these errors were encountered: