-
Notifications
You must be signed in to change notification settings - Fork 131
MQE-910: [GitHub] The property of the parent element is used first when making a request #250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
1 similar comment
… when making a request
b153bf4
to
593e531
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes seem to work well with backwards compatiblity, but are just very hard to read. Need some commenting.
$paramEntityParent = ""; | ||
$matchedParent = []; | ||
$dataItem = $matchedParams[1][$paramKey]; | ||
preg_match_all("/(.+?)\./", $dataItem, $matchedParent); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add comment:
Try to find "type." in "type.field"
$dataItem = $matchedParams[1][$paramKey]; | ||
preg_match_all("/(.+?)\./", $dataItem, $matchedParent); | ||
|
||
if (!empty($matchedParent) && !empty($matchedParent[0])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add comment:
Assign entity "type" for filtering, remove "type." from parameter
… when making a request - added some comments
3.12.0 RC Checklist
Description
Fixed Issues (if relevant)
Contribution checklist