Raise error when key not present in factory

I am using rom-factory and serveral times I was hit by the problem, that I use a key that is not an attribute/association of the object. This is mostly related to associations. Since the proper association is defined in the factory, there is no error, but a new instance of the related object is created.

I think it would save some time, not only for me, if the Factory checked for the definition of keys. If given key is not defined as an attribute or association of the object an exception should be raised.

This is how it works. Are you using the latest version?