Closed Obbut closed 5 years ago
See this commit on Foundation. Because of this, generating an ObjectId would throw an error on Linux with Swift 5:
Could not cast value of type 'BSON.ObjectIdGenerator' (0x55f83d7bdb90) to 'Foundation.NSObject' (0x7fc108f1fc48).
This should fix that.
See this commit on Foundation. Because of this, generating an ObjectId would throw an error on Linux with Swift 5:
Could not cast value of type 'BSON.ObjectIdGenerator' (0x55f83d7bdb90) to 'Foundation.NSObject' (0x7fc108f1fc48).
This should fix that.