Skip to content

Conversation

michaelnabil230
Copy link
Contributor

@michaelnabil230 michaelnabil230 commented Dec 24, 2022

This PR adds an unless method to the JSON resource class for retrieving a value if the given "condition" is (or resolves to) falsy.

taylorotwell and others added 2 commits December 29, 2022 19:56
Co-authored-by: kevinvanboeckholtz <113355556+kevinvanboeckholtz@users.noreply.github.com>
@taylorotwell taylorotwell merged commit 8209afd into laravel:9.x Dec 30, 2022
@michaelnabil230 michaelnabil230 deleted the features-json-resource branch December 30, 2022 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants