Is there a way to force the .hasMany() relationship to use URL parameters and not query strings?
My Rest API wants the parameters in the form:
/API/Incident/Activity/:ProblemID
which resolves to...
/API/Incident/Activity/2
I can correctly call the model directly by passing in the correct named parameter, but the automatic association of parent-to-child is always called with the query string like:
Is there a way to force the .hasMany() relationship to use URL parameters and not query strings?
My Rest API wants the parameters in the form:
I can correctly call the model directly by passing in the correct named parameter, but the automatic association of parent-to-child is always called with the query string like: