dolittle / JavaScript.SDK

Dolittle JavaScript SDK
https://dolittle.io
MIT License
5 stars 2 forks source link

Validate collection names, upgrade contracts and add specs. #119

Closed jakhog closed 2 years ago

jakhog commented 2 years ago

Summary

Adds validation that fails during build of Projections if copy to MongoDB collection name is not valid. Also upgrades contracts, and upgrades to the new contracts and adds enums for new conversion types.

Also added some specs for verifying that the copy to MongoDB specifications are correct when using decorators on classes and when using the explicit builder.