Free cookie consent management tool by TermsFeed Policy Generator

Opened 8 years ago

Closed 8 years ago

#2626 closed enhancement (done)

Make it possible to exclude fields from object graph traversal explicitly.

Reported by: gkronber Owned by: gkronber
Priority: medium Milestone: HeuristicLab 3.3.14
Component: Common Version: 3.3.13
Keywords: Cc:

Description (last modified by gkronber)

We encountered a problem in the object graph traversal in connection with WCF services.

Since it was not easily possible to define correct rules for excluded types, I suggest that we introduce an attribute with which fields can be marked if they should be excluded from object graph traversal.

Change History (11)

comment:1 Changed 8 years ago by gkronber

r13998: excluded all TypeInfo objects and all instances of types from the System.Runtime.Serialization assembly

comment:2 Changed 8 years ago by gkronber

  • Owner set to gkronber
  • Status changed from new to accepted

comment:3 Changed 8 years ago by gkronber

  • Owner changed from gkronber to abeham
  • Status changed from accepted to reviewing

comment:4 Changed 8 years ago by gkronber

  • Owner changed from abeham to gkronber
  • Status changed from reviewing to assigned

This is not solved yet.

comment:5 Changed 8 years ago by gkronber

  • Description modified (diff)
  • Status changed from assigned to accepted
  • Summary changed from Exception when comparing System.RuntimeType in object graph traversal to Make it possible to exclude fields from object graph traversal explicitly.
  • Type changed from defect to enhancement

comment:6 Changed 8 years ago by gkronber

r14032: reverted changes from r13998 and introduce a new attribute (ExcludeFromObjectGraphTraversalAttribute) which can be used to mark fields that should be excluded from object graph traversal

comment:7 Changed 8 years ago by gkronber

  • Owner changed from gkronber to abeham
  • Status changed from accepted to reviewing

comment:8 Changed 8 years ago by gkronber

  • Description modified (diff)

comment:9 Changed 8 years ago by abeham

  • Owner changed from abeham to gkronber
  • Status changed from reviewing to readytorelease

r14144: some minor changes and speed improvements

Speed slightly improved for a medium sized experiment with about 160 variations (average over 10 tries): Old: 2087.27121ms 668603 objects New: 2005.35525ms 668603 objects

Object graph traversal behaves very strange with C# scripts. We saw the object graph grow from execution to execution by exactly one object. In other cases it didn't grow. We don't have an explanation.

comment:10 Changed 8 years ago by gkronber

r14145: merged r13998, r14032 and r14144 from trunk to stable

comment:11 Changed 8 years ago by gkronber

  • Resolution set to done
  • Status changed from readytorelease to closed
Note: See TracTickets for help on using tickets.