forest-express-mongoose icon indicating copy to clipboard operation
forest-express-mongoose copied to clipboard

Mongoose internal types not serialized

Open mcaldas opened this issue 7 years ago • 7 comments

composite mongoose types aren't serialized, for example mongoose.Schema.Types.Point

mcaldas avatar Aug 30 '17 12:08 mcaldas

@arnaudbesnier

mcaldas avatar Aug 30 '17 12:08 mcaldas

Yes we have this issue in mind. I'll let you know if we can add this in the next sprint.

arnaudbesnier avatar Sep 05 '17 14:09 arnaudbesnier

Are you using mongoose-geojson-schema for the mongoose.Schema.Types.Point ? And can you send me an example of your model to help me reproduce the bug?

lucasscariot avatar Sep 18 '17 13:09 lucasscariot

Hey! I shared an example model in #76 , is that enough? For geojson yes, we use mongoose.Schema.Types.Point

mcaldas avatar Sep 18 '17 13:09 mcaldas

@lucasscariot :)

mcaldas avatar Sep 19 '17 18:09 mcaldas

@mcaldas, I am not sure to understand.

Tell me if I am wrong but, according to the doc, mongoose.Schema.Types.Point is not a "native" Mongoose type. What you actually is Forest to support the mongoose-geojson-schema, right?

arnaudbesnier avatar Sep 27 '17 07:09 arnaudbesnier

@mcaldas do you still need some help? We didn't receive any response since my last question 3 month ago.

arnaudbesnier avatar Jan 02 '18 07:01 arnaudbesnier