Skip to content

Conversation

@emyller
Copy link
Contributor

@emyller emyller commented Nov 18, 2025

Add mapper layer to transform environment documents into evaluation contexts. No SDK integration in this PR.

This is pass 2 of 3.

  1. Implement context-based engine (PR feat: Context Values support, GetEvaluationResult #171)
  2. Add mapper layer. No SDK changes. (this PR)
  3. SDK integration and legacy engine removal. Breaking changes. (future PR)

Mapper implementation inspired by:

Changes

  • Transform EnvironmentModel to EvaluationContext

Contributes to #168

Review effort: 4/5

@emyller emyller requested a review from a team as a code owner November 18, 2025 20:33
@emyller emyller requested review from khvn26 and removed request for a team November 18, 2025 20:33
@emyller emyller self-assigned this Nov 18, 2025
Copy link

@Zaimwa9 Zaimwa9 left a comment

Choose a reason for hiding this comment

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

Couple of NITs, one is blocking (environment.name). Thanks for the exhaustive test, unfortunately i'm unable to provide code improvements

@emyller emyller requested a review from Zaimwa9 November 21, 2025 19:28
khvn26
khvn26 previously approved these changes Nov 25, 2025
Copy link
Member

@khvn26 khvn26 left a comment

Choose a reason for hiding this comment

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

LGTM overall, with optional test-related nitpicks 👍

@emyller emyller force-pushed the feat/client/map-envdoc-to-new-engine branch from c731708 to 6beff14 Compare November 25, 2025 14:39
Copy link

@Zaimwa9 Zaimwa9 left a comment

Choose a reason for hiding this comment

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

👍

@emyller emyller merged commit ef5082b into main Nov 25, 2025
30 checks passed
@emyller emyller deleted the feat/client/map-envdoc-to-new-engine branch November 25, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants