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

Diffing_Engine: add PropertiesToInclude diffing workflow #1866

Closed
Stepsan opened this issue Jun 26, 2020 · 2 comments · Fixed by #1900
Closed

Diffing_Engine: add PropertiesToInclude diffing workflow #1866

Stepsan opened this issue Jun 26, 2020 · 2 comments · Fixed by #1900
Assignees
Labels
size:M Measured in hours type:feature New capability or enhancement

Comments

@Stepsan
Copy link

Stepsan commented Jun 26, 2020

Description:

Please could you include a function similar to the PropertiesToIgnore option, with which specific properties can be selected for comparison? An example of workflow:

  • I have two lists of objects, of e.g. CustomObjects. The objects come from an external source, over which I have no control (e.g. a Revit model modified by an architect). However I know that each and every one of those objects will always have some known property assigned to them. For example, I know that all CustomObjects will have some property called propertyA and another called propertyB.
  • I want to do the diffing between the lists of objects, based only on those known properties. For this, I would like to have an input called like propertiesToInclude where I can specify the name of the properties: propertyA and propertyB.
  • The output can be in the form of a VennDiagram where the objects are dispatched to either "onlyInFirstList", "onlyInSecondList", or "both".

This can be useful for objects which include a lot of sub-properties that are either not known or liable to change.

@Stepsan Stepsan added the type:feature New capability or enhancement label Jun 26, 2020
@alelom alelom self-assigned this Jun 26, 2020
@alelom
Copy link
Member

alelom commented Jun 26, 2020

Thanks @Stepsan ! 😄 🚀

@alelom
Copy link
Member

alelom commented Jun 26, 2020

@Stepsan I've edited the issue to elaborate a bit on what we said, hope you don't mind 😄
This shows the level of detail we need in Github issues to understand and work on them.
I'll start working on this ASAP 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M Measured in hours type:feature New capability or enhancement
Projects
None yet
2 participants