Open crazedpeanut opened 5 years ago
Created PR #75
Hello @Crazedpeanut,
Iām not really sure about this one. Ideally you shouldnāt be provisioning your collections through Cosmonaut to begin with. Cosmonaut just does the bare minimum so you donāt get any errors when initialising. Adding TTL would mean I have to also add every other feature related to collection creation which in return means that we will end up with a quite heavy CosmosStoreSetting object. I would have to look deeper into this one.
No stress, alternatively would a delegate to configure the collection be more appropriate? Saves Cosmonaut from having to support every field imaginable
It would be nice to include the default TTL setting when creating collections.
The TTL field on a document is not acknowledged if the collection does not have TTL enabled