open-feature / open-feature/java-sdk
[TRACKING] breaking changes with API changes to consider with v2
- Dominant language
- Java
- Stars
- 128
- Forks
- 61
- Avg merge
- 5h 57m
- Merged PRs (30d)
- 26
Description
This is a tracking issue with breaking changes such as `@Deprecated` annotated methods.
The resulting PR should be marked with breaking changes so that we can upgrade to the next major version (2.x)
List of tasks,
- [ ] public OpenFeatureClient : remove public access and make interna
- [ ] consider using `Number` for numeric evaluations
- [ ] rethink lombok and object creation
- [ ] Add a method to the `Hook` interface, through which the user can add hook data that can be accessed in a type safe manner during the flag evaluation:
```java
class MyHook implements Hook{
D getHookData(){
return myHookData;
}
void void after(HookContext ctx, FlagEvaluationDetails details, Map hints) {}
D data = ctx.getHookData(); // data == myHookData
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.