pajachiet / pymongo-schema

A schema analyser for MongoDB, written in Python.
GNU Lesser General Public License v3.0
74 stars 13 forks source link

Issue when mapping an array of scalars from a dictionary field #1

Closed aureliengervasi closed 7 years ago

aureliengervasi commented 7 years ago

When mapping an array of scalars from a dictionary field, the "valuefield' field gets filled with the shortened dictionary field name (eg: creneaux from rendez_vous_gu.creneaux)

But in the associated linked table, the target field is named with the full dictionnary field name (eg: rendez_vous_gu.creneaux).

As a consequence, the value is not propagated to the linked table, without raising an error.

Potential solution : using the full dictionnary field name in the "valuefield" field.

pajachiet commented 7 years ago

I believe this issue has been fixed some time ago. Please open it again if not.