Maybe a model resource could come in handy here ? It may allow you to make different requests for primary and secondary but let you put them in one response
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community