go-sdk-contrib icon indicating copy to clipboard operation
go-sdk-contrib copied to clipboard

feat!: OTel hook changes for hook interface updates

Open bbland1 opened this issue 9 months ago • 0 comments

This PR

  • bumped the go-sdk version to 1.14.1
  • added evalDetails to the parameters passed in the Finally hook in metrics hook
  • updated the metrics_test to have the new evalDetails

Related Issues

Fixes #642

Notes

  • not sure if there is a specific way to bump the go-sdk version to the unreleased version with the change to the Hook it currently throws an error where it is called in metrics because the type issue
var _ openfeature.Hook = &MetricsHook{}
  • in the issue it states to explicitly mention the breaking but ok because of spec in the release notes, I am not sure if that is something I can do in this PR and I just can't find how in the contributing or if it is after the reviewing

bbland1 avatar Mar 05 '25 20:03 bbland1