-
Notifications
You must be signed in to change notification settings - Fork 2
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
Fix conditions check #128
base: development
Are you sure you want to change the base?
Fix conditions check #128
Conversation
@@ -5,6 +5,7 @@ | |||
"sourceId": "1", | |||
"sourceType": "api", | |||
"sourceHash": "", | |||
"sourceHashMapping": "1", |
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.
This field is added in a other pull request but adding it here is harmless
@@ -13,6 +14,7 @@ | |||
"headers": [], | |||
"query.startdatum__gte": "2024-08-01", | |||
"query.einddatum__lt": "2025-01-01", | |||
"query.maximaleVertrouwelijkheidaanduiding": "openbaar", |
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.
Moet "aanduiding" niet met een hoofdletter?
ik ga ervan uit dat dit met een hoofdletter moet zijn want de andere woorden in deze string hebben ook hoofdletters
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.
Nee dit is een veld vanuit xxllnc suite, ik heb het niet verzonnen
// Take note, JsonLogic::apply() returns a range of return types, so checking it with '=== false' or '!== true' does not work properly. | ||
if ($synchronization->getConditions() !== [] && !JsonLogic::apply($synchronization->getConditions(), $object)) { | ||
|
||
// @todo log that this object is not valid |
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.
todo, create a log
No description provided.