Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Resolve max-params warning for src/sdk/sdk.ts #1728

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tamirazrab
Copy link
Contributor

@tamirazrab tamirazrab commented Jan 27, 2025

Description

Resolve max-params warning for src/sdk/sdk.ts
...

End to End Test:
(See Pepr Excellent Examples)

Related Issue

Relates to #1700

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Checklist before merging

@tamirazrab tamirazrab requested a review from a team as a code owner January 27, 2025 09:33
@tamirazrab tamirazrab changed the title refactor: params to 4 for writeEvent at sdk refactor: Resolve max-params warning for src/sdk/sdk.ts Jan 27, 2025
Copy link
Contributor

@cmwylie19 cmwylie19 left a comment

Choose a reason for hiding this comment

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

Code looks good but this is user facing breaking change

https://docs.pepr.dev/main/user-guide/sdk/#writeevent

We would need to deprecate before making this change. We will chat as a team and give you some feedback. Thanks for the PR

Copy link

codecov bot commented Jan 31, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.72%. Comparing base (094fa1c) to head (3695885).
Report is 45 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1728      +/-   ##
==========================================
+ Coverage   79.52%   79.72%   +0.20%     
==========================================
  Files          48       50       +2     
  Lines        2090     2116      +26     
  Branches      430      429       -1     
==========================================
+ Hits         1662     1687      +25     
- Misses        426      427       +1     
  Partials        2        2              
Files with missing lines Coverage Δ
src/sdk/sdk.ts 100.00% <100.00%> (ø)

... and 5 files with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In review
Development

Successfully merging this pull request may close these issues.

2 participants