open-feature / open-feature/swift-sdk

Add `evaluation details` to `finally` hook stage

Open
#57 1 comment 0 reactions 0 assignees View on GitHub
good first issue help wanted
Dominant language
Swift
Stars
31
Forks
14
Avg merge
1d 12h
Merged PRs (30d)
2

Description

Add `evaluation details` to `finally` hook stage.

### Notes

This breaks the signature of the `finally` stages based on [this spec enhancement](https://github.com/open-feature/spec/pull/280). It is **not** considered a breaking change to the SDK because hooks are marked as experimental in the spec, and the change has no impact on known hooks.

```psuedo
- finally(hookContext, hookHints)
+finally(hookContext, evaluationDetails, hookHints)
```

## Acceptance criteria:

- finally hook stage modified
- associated tests

## Follow ups:

- update contribs

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.