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
When calling an actionable field from our fields definition we send a different structure for request params than when we call the actionable fields on bulk operations(
).
In first one an object is sent, and in the second an array of object instead. This implies that in every action I need to verify this on beforehand, because request params structure may vary.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When calling an actionable field from our fields definition we send a different structure for request params than when we call the actionable fields on bulk operations(
laravel-restify/src/Repositories/Repository.php
Line 675 in dd484e2
In first one an object is sent, and in the second an array of object instead. This implies that in every action I need to verify this on beforehand, because request params structure may vary.
Beta Was this translation helpful? Give feedback.
All reactions