Closed nullndr closed 7 months ago
I have signed the CLA!
Hey @paulomarg, I completely agree with you. I'll add the test and the same api to other versions asap
Hey, I took the liberty of tweaking the changeset since this is a minor and not a major version change (we're not changing any existing APIs). Thanks again for contributing, I'll be merging as soon as CI passes :)
Changelog
This PR adds the new method
Shop.current()
that behaves the same asShop.all()
with the exception of unwrapping the response to return only thedata[0]
object like the methodCustomer.find()
.