Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use data_get to retrieve value from resource #154

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Tarpsvo
Copy link

@Tarpsvo Tarpsvo commented Feb 17, 2021

Using Laravel's data_get helper allows nested values to be used for the dependencies, which is important for packages like Nova Page Manager where all the fields are stored in a data JSON column (that is casted into an array in the model). This allows dependencies on field attributes such as data->type. This PR does not introduce any breaking changes and does not affect existing setups.

Using Laravel's `data_get` helper allows nested values to be used for the dependencies, which is important for packages like Nova Page Manager where all the fields are stored in a `data` JSON column (that is casted into an array in the model). This allows dependencies on field attributes such as `data->type`. This PR does not introduce any breaking changes and does not affect existing setups.
@Tarpsvo Tarpsvo mentioned this pull request Sep 7, 2021
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.

1 participant