Skip to content

Commit b0154d8

Browse files
committed
doc: migration update
1 parent 0d31aea commit b0154d8

File tree

1 file changed

+1
-29
lines changed

1 file changed

+1
-29
lines changed

MIGRATION.md

Lines changed: 1 addition & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -132,36 +132,8 @@ catch (Exception ex) {
132132
For more information about error handling, please check our [documentation](https://github.com/apideck-libraries/sdk-csharp/tree/main?tab=readme-ov-file#error-handling)
133133

134134

135-
## Additional features in the new SDK
136135

137-
1. **Retry configuration**
138-
139-
The retry configuration allows you to specify how the SDK should handle retries for failed requests. You can configure the retry strategy, initial interval, maximum interval, exponent, and maximum elapsed time.
140-
141-
Here is an example of how to configure retries:
142-
143-
```csharp
144-
var sdk = new Apideck(
145-
retryConfig: new RetryConfig(
146-
strategy: RetryConfig.RetryStrategy.BACKOFF,
147-
backoff: new BackoffStrategy(
148-
initialIntervalMs: 1L,
149-
maxIntervalMs: 50L,
150-
maxElapsedTimeMs: 100L,
151-
exponent: 1.1
152-
),
153-
retryConnectionErrors: false
154-
),
155-
apiKey: "<YOUR_BEARER_TOKEN_HERE>",
156-
consumerId: "test-consumer",
157-
appId: "your-app-id"
158-
);
159-
```
160-
161-
For more information about retry configuration, please refer to the [Retry Configuration Documentation](https://github.com/apideck-libraries/sdk-csharp/tree/main?tab=readme-ov-file#retries).
162-
163-
164-
## Breaking Changes
136+
## Summary of breaking Changes
165137

166138
1. Package name has changed from Apideck to ApideckUnifySdk
167139
2. All API methods now follow a consistent naming pattern and are async by default

0 commit comments

Comments
 (0)