echoes-xyz / mongoose-geojson-schema

Schema definitions for GeoJSON types for use with Mongoose JS
MIT License
79 stars 25 forks source link

Add "schemaName" to each of the SchemaTypes #16

Closed GerardSoleCa closed 7 years ago

GerardSoleCa commented 7 years ago

Hi,

We are currently using your awesome library in a project, and we use another library to convert models into JsonSchemas.

I've seen that this library lacks of the schemaName of each SchemaType, which is required for conversion.

In fact, you can see that mongoose schemas implement this property string.js, date.js

I'll be doing a pull request in some minutes, and if you like it, I would really appreciate a merge :)

Thanks!

joshkopecek commented 7 years ago

Closed and merged PR.