-
Notifications
You must be signed in to change notification settings - Fork 22
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
Revert the way config elements are mocked to 2.33.0 functionality #265
Conversation
Signed-off-by: Remco Post <Remco.Post@rabobank.nl>
@pe1pip, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding
|
1 similar comment
@pe1pip, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding
|
@pe1pip, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding
|
1 similar comment
@pe1pip, you must sign every commit in this pull request acknowledging our Developer Certificate of Origin before your changes are merged. This can be done by adding
|
const attribute: any = this.attributes != null ? this.attributes.find(a => a.name === key) : []; | ||
|
||
|
||
const attribute = this.attributes.find(a => a.name === key); |
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.
You can do a in-line null check with this.attributes?.find(a => a.name === key)
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.
I appreciate the fix, the code is from BT 2.33.0, so I assume that this has always been correct.
Hi @pe1pip , I had an internal discussion with the team, let's get this merged to unblock you. |
Description
Revert the way config elements are mocked to 2.33.0 functionality
Checklist
Fixed #XXX -
orClosed #XXX -
prefix to auto-close the issueTesting
mvn test in vro-scripting-api was successful
Release Notes
Revert the way config elements are mocked to 2.33.0 functionality
Related issues and PRs
Issue #149