BHoM / BHoM_Adapter

GNU Lesser General Public License v3.0
7 stars 5 forks source link

Expose Comparers and More Information on Push/Update Methods #188

Open rwemay opened 4 years ago

rwemay commented 4 years ago

Description:

The current default behavior on create or update in the adapters is to overwrite the properties of objects if they meet the comparer conditions. When properties of objects are overwritten, there is no information back to the user that this has happened. I think that a) we should be providing this feedback to the user as a warning, and b) we should allow for an overwriteProperties boolean, either in the adapter settings or actionConfig. A few suggestions:

I've prototyped a lot of this in the now very messy (and needing to be re-PR'd) Robot_Toolkit update panel code here https://github.com/BHoM/Robot_Toolkit/pull/310/files

@IsakNaslundBh , @alelom , I'm going to re-PR/tidy up the Robot PR, and perhaps we can pick this up with a specific meeting next week to review/move forward. For now, in the Robot PR, I'll limit the 'framework' changes and stick to the current approaches.