Skip to content

Conversation

@dsindrilaru
Copy link
Contributor

Prevent action handlers from being called when iterating over non-actionable fields


$request->repository()
->collectFields($request)
->forUpdate($request, $request->repository())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
->forUpdate($request, $request->repository())
->forUpdate($request, $this)

You are already in the repository.


$request->repository()
->collectFields($request)
->forStore($request, $request->repository())
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
->forStore($request, $request->repository())
->forStore($request, $this)

@binaryk binaryk merged commit a191c46 into BinarCode:5.x Aug 27, 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.

2 participants