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

fix: remove history generic #159

Merged
merged 1 commit into from
Mar 23, 2024
Merged

fix: remove history generic #159

merged 1 commit into from
Mar 23, 2024

Conversation

nadilas
Copy link
Member

@nadilas nadilas commented Mar 23, 2024

TL;DR

This pull request updates the handling of undefined properties during the compare call.

What changed?

The README documentation and the formatGit2Json function in git2json.ts have been updated. The formatGit2Json function no longer accepts a generic parameter.

How to test?

Ensure the library behaves as expected when dealing with undefined properties during the compare call. Unit tests should confirm this behavior.

Why make this change?

There was an inconsistency in how undefined properties were handled during the compare call as documented in the README. This update makes the operation clearer and resolves potential issues.


📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @dotinc/[email protected]
npm install @dotinc/[email protected]
# or 
yarn add @dotinc/[email protected]
yarn add @dotinc/[email protected]

Copy link

vercel bot commented Mar 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
ogre ⬜️ Ignored (Inspect) Visit Preview Mar 23, 2024 0:31am

Copy link
Member Author

nadilas commented Mar 23, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @nadilas and the rest of your teammates on Graphite Graphite

Copy link

codecov bot commented Mar 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.67%. Comparing base (bdc419a) to head (9ec9101).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #159      +/-   ##
==========================================
- Coverage   77.71%   76.67%   -1.04%     
==========================================
  Files           6        6              
  Lines         332      343      +11     
  Branches       73       78       +5     
==========================================
+ Hits          258      263       +5     
- Misses         50       53       +3     
- Partials       24       27       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nadilas nadilas merged commit 5e21d78 into main Mar 23, 2024
9 of 10 checks passed
@nadilas nadilas deleted the fix/remove-history-generic branch March 23, 2024 12:33
Copy link

@github-actions github-actions bot added the released This issue/pull request has been released. label Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant