Skip to content
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

Endpoint Composition - Adding helper which has a NULL placeholder + tests #1259

Merged
merged 4 commits into from
Feb 6, 2024

Conversation

paulr34
Copy link
Collaborator

@paulr34 paulr34 commented Feb 5, 2024

Adding helper which adds Parent Endpoint ID per Endpoint to an array OR NULL if the Endpoint has no Parent

@paulr34 paulr34 changed the title Endpoint Adding helper to have a NULL placeholder and tests Endpoint Composition - Adding helper which has a NULL placeholder + tests Feb 5, 2024
@paulr34 paulr34 marked this pull request as ready for review February 5, 2024 23:24
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6d43705) 65.19% compared to head (12b3ba6) 65.21%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1259      +/-   ##
==========================================
+ Coverage   65.19%   65.21%   +0.02%     
==========================================
  Files         188      188              
  Lines       19764    19769       +5     
  Branches     4228     4230       +2     
==========================================
+ Hits        12885    12893       +8     
+ Misses       6879     6876       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

let parentIds = []
this.endpoints.forEach((ep) => {
if (ep.parentEndpointIdentifier == null) {
parentIds.push('NULL')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are hard-coding C NULL here. Not the biggest evil, but I thought we have this externalized somewhere?

@paulr34 paulr34 merged commit c2ae75e into project-chip:master Feb 6, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants