Use Builder pattern for Configuration

Description

This came up as a suggestion from in https://couchbasecloud.atlassian.net/browse/CBL-1184 that we should consider using Builder pattern so that the Configuration object will be completely thread-safe as the Configuration object will be immutable. This could be a good idea to eliminate a workaround to make the Configuration readonly after set as well.

Activity

Show:

Pasin Suriyentrakorn November 13, 2020 at 9:13 PM

Pasin Suriyentrakorn October 30, 2020 at 8:14 PM
Edited

After talking with each platform owner, the following direction will be taken for the API design:

  1. Java/Android, Swift, and Objective-C will adopt Builder pattern for the Configuration Object.

  2. .NET and Kotlin will adopt Constructor style.

Done
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created September 23, 2020 at 3:40 AM
Updated November 13, 2020 at 9:13 PM
Resolved November 13, 2020 at 9:13 PM
Instabug