BHoM / Mongo_Toolkit

GNU Lesser General Public License v3.0
2 stars 3 forks source link

Remove MongoConfig as its parameters are redundant with the `Push()` inputs #150

Closed alelom closed 3 years ago

alelom commented 3 years ago

Broken rules:

While looking at #93, I realized that the MongoConfig currently specifies a tag property that is used in the Push to replace the tag input, which makes no sense.

It also specifies a replace boolean that does the functionality of the PushType input (available to the Push() method), which we should leverage instead.

Suggestions to restore compliance:

Delete the MongoConfig and refactor the Push code to leverage existing inputs.