Skip to content
Discussion options

You must be logged in to vote

IMO, you should use a CreateAction alongside AttachAction, thats what it was designed for, not this

If you want to fix how it currently is, you need to define a createOptionUsing() function that creates a new instance of the model from the $data and then returns the ID.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LemonPie22
Comment options

Answer selected by LemonPie22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants