Closed www-chique closed 3 years ago
This is related to handling Mongoose Maps, my bad! I already had this fix nearly done, just need to finish tests and will release.
@francescov1 - No problem. I'm really grateful to you for this wonderful tool. Take your time.
Published in 7.0.5!
Note that I am aware of a small cleanup that needs to be done to remove duplicate properties on Document types (ie EmailTemplateDocument["content"] = mongoose.Map<string> & Map<string, string>
even though the Document property should only contain the mongoose.Map
type). Based on prelim testing it seems like this should be fine for now but I'm not entirely sure if it could cause issues when trying to use a mongoose map (I dont have many Mongoose projects that use maps so I wasn't able to test as much as I would like). Let me know if there are any issues!
Note that I am aware of a small cleanup that needs to be done to remove duplicate properties on Document types (ieEmailTemplateDocument["content"] = mongoose.Map<string> & Map<string, string>
even though the Document property should only contain themongoose.Map
type). Based on prelim testing it seems like this should be fine for now but I'm not entirely sure if it could cause issues when trying to use a mongoose map (I dont have many Mongoose projects that use maps so I wasn't able to test as much as I would like). Let me know if there are any issues!
Addressed in 7.0.6!
I'm using the Mongoose map example, as follows
Running mtgen shows the following error
However, it works fine if I use Object instead of Map. Am I doing something wrong like a newbie I am?
Many thanks for your help with all the issues.