We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e756b3 commit 95ed2f7Copy full SHA for 95ed2f7
Sources/MongoSwift/BSON/BSONEncoder.swift
@@ -502,7 +502,7 @@ extension _BSONEncoder {
502
if let bsonValue = value as? BSONValue {
503
return bsonValue
504
} else if let bsonArray = value as? [BSONValue] {
505
- return try bsonArray.map { $0.bson }
+ return bsonArray.map { $0.bson }
506
}
507
508
// The value should request a container from the _BSONEncoder.
0 commit comments