contentful / contentful.swift

A delightful Swift interface to Contentful's content delivery API.
MIT License
202 stars 82 forks source link

Fix calling completion closure twice #323

Closed ejensen closed 1 month ago

ejensen commented 3 years ago

Prevents calling completion closures multiple times by making the synchronous Client Result handling methods return their values rather than having completion parameters.

The changed method signatures are private so the change is non-breaking.

mariuskatcontentful commented 1 month ago

Your branch was out of date so merged separately: https://github.com/contentful/contentful.swift/pull/412