[JIRA] (JENKINS-36902) Refactor destructured objects to not be destructured.

2016-09-01 Thread jdu...@cloudbees.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 James Dumay resolved as Won't Fix  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 This should be fixed as you touch files  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-36902  
 
 
  Refactor destructured objects to not be destructured.   
 

  
 
 
 
 

 
Change By: 
 James Dumay  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Won't Fix  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[JIRA] (JENKINS-36902) Refactor destructured objects to not be destructured.

2016-07-24 Thread i...@ivan.net.nz (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ivan Meredith created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-36902  
 
 
  Refactor destructured objects to not be destructured.   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 blueocean-plugin  
 
 
Created: 
 2016/Jul/25 1:44 AM  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Ivan Meredith  
 

  
 
 
 
 

 
 Example below make it hard to read code. In general destructing nested data should probably be avoided.  

 

 const {
context: {
router,
location,
pipeline: {
_class: pipelineClass,
fullName,
organization,
},
},
props: {
result: {
durationInMillis,
estimatedDurationInMillis,
pipeline,
id,
result,
state,
startTime,
endTime,
commitId,
},
changeset,
},
} = this;