Closed yulqen closed 4 years ago
Hi @hammerheadlemon , yes I think we did this for a reason and it should stay that way. I guess the thinking was it's ok to have a key in the master but not the datamap as you might chose to filter out that key, but if you have a key in your datamap and not in master its a problem as your trying to actively work with a key and data that doesn't exist so the user needs a big warning - i.e. process stops - to handle as something has gone wrong.
But, yes I think it was designed in on purpose and is working well at the moment, so is not something we're having any problems with
Excellent - thanks @banillie.
@banillie - is this expected/wanted functionality? What are the issues with this, if any? I presume we did this for a reason (the datamap is the "single version of the truth"/contact, etc), but I was wondering whether this needs to be considered. Not urgent but worth asking.
https://github.com/hammerheadlemon/bcompiler-engine/blob/c1eca5b2ceef617923d64337b831931b4a43c0ad/engine/use_cases/output.py#L73-L83