Skip to content

Conversation

@kaushalkapasi
Copy link
Collaborator

  • chore: adds a public static method for openFeatureEvalReason which accepts only the reason attribute and returns an EvalReason struct
    • this is being added to allow for testing of Eval Reasons from the DevCycle iOS OpenFeature provider

This comment was marked as outdated.

@kaushalkapasi kaushalkapasi force-pushed the chore-add-public-eval-reason-static-method branch from 08cbe86 to 0820d50 Compare July 16, 2025 15:57
@kaushalkapasi kaushalkapasi requested a review from Copilot July 16, 2025 15:57

This comment was marked as outdated.

@kaushalkapasi kaushalkapasi force-pushed the chore-add-public-eval-reason-static-method branch from 0820d50 to 7348285 Compare July 16, 2025 16:00
@kaushalkapasi kaushalkapasi requested a review from Copilot July 16, 2025 16:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a public static method openFeatureEvalReason to the EvalReason struct to support testing functionality in the DevCycle iOS OpenFeature provider. The method provides a simplified way to create EvalReason instances with only a reason parameter.

  • Adds a new public static factory method for creating EvalReason instances for OpenFeature integration
  • The method accepts only a reason string and defaults details to an empty string

@kaushalkapasi kaushalkapasi merged commit 4530d8f into main Jul 16, 2025
8 checks passed
@kaushalkapasi kaushalkapasi deleted the chore-add-public-eval-reason-static-method branch July 16, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants