-
Notifications
You must be signed in to change notification settings - Fork 61
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
Data Selector for JSON Payload #437
base: 1.x
Are you sure you want to change the base?
Conversation
src/Resources/public/js/pimcore/configuration/components/interpreter/json.js
Show resolved
Hide resolved
|
src/Resources/public/js/pimcore/configuration/components/interpreter/json.js
Show resolved
Hide resolved
44fc572
to
03b42df
Compare
@fashxp I addressed the comments. |
0375b59
to
7910a28
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.
looks good to me, one minor adaption we need.
//nothing to do | ||
$path = $settings['path']; | ||
try { | ||
(new Parser)->parse($path); |
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.
we should allow empty paths here as well...
|
See: https://github.com/orgs/pimcore/discussions/17670#discussion-7265373
CC @fashxp
This does add a new dep: "mtdowling/jmespath.php" (https://github.com/jmespath/jmespath.php)