Announcement

Collapse
No announcement yet.

Detect multiple set on hasMany before hooks

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Detect multiple set on hasMany before hooks

    Hi everyone,

    I'm currently looking for a way to edit the $options array that we get from the differents entities hooks.
    But I want that only in the case of a multiple assignement (in POST) from the API (with these king of parameters).Click image for larger version

Name:	image.png
Views:	131
Size:	9.2 KB
ID:	82232
    The thing is I would like to make things in my backend with the context of these n ids and not individualy like the beforeRelate / afterRelate hooks.


    PS : Feel free to ask questions if you need.

    Kind regards,
    Firyo.

  • #2
    Ok I found something that gives me the same result so we good I guess

    Comment

    Working...
    X