Skip to content

Conversation

@jackkleeman
Copy link
Contributor

This allows us to simplify apis quite a bit, much less errors all over the place

@github-actions
Copy link

github-actions bot commented Aug 20, 2024

Test Results

  5 files  ±0    5 suites  ±0   2m 13s ⏱️ -1s
 41 tests ±0   41 ✅ ±0  0 💤 ±0  0 ❌ ±0 
101 runs  ±0  101 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 753f831. ± Comparison against base commit 841b7c3.

♻️ This comment has been updated with latest results.

Copy link
Contributor

@slinkydeveloper slinkydeveloper left a comment

Choose a reason for hiding this comment

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

LGTM, this definitely improves the code!

context.go Outdated
Comment on lines 170 to 171
// If the invocation was cancelled while obtaining the state (only possible if eager state is disabled),
// a cancellation error is returned. If eager state is enabled (the default), err will always be ErrKeyNotFound or nil.
Copy link
Contributor

Choose a reason for hiding this comment

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

Because this is a runtime config, and not SDK, i wouldn't personally build code against such assumption that eager state is enabled or not

@jackkleeman jackkleeman merged commit 333963c into main Aug 21, 2024
@jackkleeman jackkleeman deleted the codec-panic branch August 21, 2024 10:40
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.

3 participants