mongodb / stitch-ios-sdk

Apache License 2.0
42 stars 25 forks source link

STITCH-2240 - add toArray, deprecate asArray #113

Closed dkaminsky closed 5 years ago

dkaminsky commented 5 years ago

This ticket soft-deprecates the "asArray" method in the SDK in both the CoreRemoteMongoReadOperation and RemoteMongoReadOperation classes and adds a corresponding toArray method that does the same thing.

This change is intended to alleviate the issue that the Functions JS SDK differs from the other SDKs in this way.

The asArray function will stay in place at least until an appropriate time per semantic versioning guidelines (e.g. a major version upgrade).