Skip to content

Commit 7f03152

Browse files
chore: update sdk readmes
Signed-off-by: OpenFeature Bot <[email protected]>
1 parent 2bf6af2 commit 7f03152

File tree

11 files changed

+14
-16
lines changed

11 files changed

+14
-16
lines changed

docs/reference/technologies/client/kotlin.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from kotlin-sdk.
1010
Edits should be made here: https://github.com/open-feature/kotlin-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Thu May 30 2024 08:08:26 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Tue Jun 04 2024 18:59:54 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">

docs/reference/technologies/client/swift.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from swift-sdk.
1010
Edits should be made here: https://github.com/open-feature/swift-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Thu May 30 2024 08:08:26 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Tue Jun 04 2024 18:59:54 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">

docs/reference/technologies/client/web/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Thu May 30 2024 08:08:26 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Tue Jun 04 2024 18:59:54 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">

docs/reference/technologies/client/web/react.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Thu May 30 2024 08:08:26 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Tue Jun 04 2024 18:59:54 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">

docs/reference/technologies/server/dotnet.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from dotnet-sdk.
1010
Edits should be made here: https://github.com/open-feature/dotnet-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Thu May 30 2024 08:08:25 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Tue Jun 04 2024 18:59:53 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
[![Specification](https://img.shields.io/static/v1?label=specification&message=v0.7.0&color=yellow&style=for-the-badge)](https://github.com/open-feature/spec/releases/tag/v0.7.0)

docs/reference/technologies/server/go.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This content has been automatically generated from go-sdk.
99
Edits should be made here: https://github.com/open-feature/go-sdk
1010
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1111

12-
Last updated at Thu May 30 2024 08:08:25 GMT+0000 (Coordinated Universal Time)
12+
Last updated at Tue Jun 04 2024 18:59:53 GMT+0000 (Coordinated Universal Time)
1313
-->
1414

1515
<p align="center" class="github-badges">

docs/reference/technologies/server/java.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This content has been automatically generated from java-sdk.
99
Edits should be made here: https://github.com/open-feature/java-sdk
1010
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1111

12-
Last updated at Thu May 30 2024 08:08:25 GMT+0000 (Coordinated Universal Time)
12+
Last updated at Tue Jun 04 2024 18:59:53 GMT+0000 (Coordinated Universal Time)
1313
-->
1414

1515
<p align="center" class="github-badges">
@@ -44,7 +44,7 @@ Last updated at Thu May 30 2024 08:08:25 GMT+0000 (Coordinated Universal Time)
4444

4545
- Java 8+ (compiler target is 1.8)
4646

47-
Note that this library is intended to be used in server-side contexts and has not been evaluated for use in mobile devices.
47+
Note that this library is intended to be used in server-side contexts and has not been evaluated for use on mobile devices.
4848

4949
### Install
5050

@@ -274,15 +274,15 @@ To register a `ThreadLocal` context propagator, you can use the `setTransactionC
274274
// registering the ThreadLocalTransactionContextPropagator
275275
OpenFeatureAPI.getInstance().setTransactionContextPropagator(new ThreadLocalTransactionContextPropagator());
276276
```
277-
Once you've registered a transaction context propagator, you can propagate the data into request scoped transaction context.
277+
Once you've registered a transaction context propagator, you can propagate the data into request-scoped transaction context.
278278

279279
```java
280280
// adding userId to transaction context
281281
OpenFeatureAPI api = OpenFeatureAPI.getInstance();
282282
Map<String, Value> transactionAttrs = new HashMap<>();
283283
transactionAttrs.put("userId", new Value("userId"));
284284
EvaluationContext transactionCtx = new ImmutableContext(transactionAttrs);
285-
api.setTransactionContext(apiCtx);
285+
api.setTransactionContext(transactionCtx);
286286
```
287287
Additionally, you can develop a custom transaction context propagator by implementing the `TransactionContextPropagator` interface and registering it as shown above.
288288

@@ -382,8 +382,6 @@ class MyEventProvider extends EventProvider {
382382
To develop a hook, you need to create a new project and include the OpenFeature SDK as a dependency.
383383
This can be a new repository or included in [the existing contrib repository](https://github.com/open-feature/java-sdk-contrib) available under the OpenFeature organization.
384384
Implement your own hook by conforming to the `Hook interface`.
385-
To satisfy the interface, all methods (`Before`/`After`/`Finally`/`Error`) need to be defined.
386-
To avoid defining empty functions make use of the `UnimplementedHook` struct (which already implements all the empty functions).
387385

388386
```java
389387
class MyHook implements Hook {

docs/reference/technologies/server/javascript/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Thu May 30 2024 08:08:25 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Tue Jun 04 2024 18:59:53 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">

docs/reference/technologies/server/javascript/nestjs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This content has been automatically generated from js-sdk.
1010
Edits should be made here: https://github.com/open-feature/js-sdk
1111
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1212

13-
Last updated at Thu May 30 2024 08:08:25 GMT+0000 (Coordinated Universal Time)
13+
Last updated at Tue Jun 04 2024 18:59:53 GMT+0000 (Coordinated Universal Time)
1414
-->
1515

1616
<p align="center" class="github-badges">

docs/reference/technologies/server/php.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This content has been automatically generated from php-sdk.
99
Edits should be made here: https://github.com/open-feature/php-sdk
1010
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1111

12-
Last updated at Thu May 30 2024 08:08:26 GMT+0000 (Coordinated Universal Time)
12+
Last updated at Tue Jun 04 2024 18:59:54 GMT+0000 (Coordinated Universal Time)
1313
-->
1414

1515
<p align="center" class="github-badges">

docs/reference/technologies/server/python.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This content has been automatically generated from python-sdk.
99
Edits should be made here: https://github.com/open-feature/python-sdk
1010
Once a repo has been updated, docs can be generated by running: yarn update:sdk-docs
1111

12-
Last updated at Thu May 30 2024 08:08:26 GMT+0000 (Coordinated Universal Time)
12+
Last updated at Tue Jun 04 2024 18:59:54 GMT+0000 (Coordinated Universal Time)
1313
-->
1414

1515
<p align="center" class="github-badges">

0 commit comments

Comments
 (0)