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: improve types for $resolve function #97

Merged
merged 8 commits into from
Jan 19, 2024
Merged

fix: improve types for $resolve function #97

merged 8 commits into from
Jan 19, 2024

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Jun 2, 2023

@danielroe danielroe self-assigned this Jun 2, 2023
@danielroe danielroe marked this pull request as draft June 2, 2023 12:55
@pi0
Copy link
Member

pi0 commented Jul 28, 2023

Do you remember what was blocker @danielroe ?

@codecov
Copy link

codecov bot commented Jul 28, 2023

Codecov Report

Merging #97 (ef4c0ed) into main (3292277) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #97      +/-   ##
==========================================
+ Coverage   88.08%   88.14%   +0.06%     
==========================================
  Files           8        8              
  Lines        1175     1181       +6     
  Branches      272      272              
==========================================
+ Hits         1035     1041       +6     
  Misses        140      140              
Files Changed Coverage Δ
src/types.ts 100.00% <100.00%> (ø)
src/utils.ts 82.87% <100.00%> (+0.58%) ⬆️

@danielroe danielroe marked this pull request as ready for review July 28, 2023 10:15
@danielroe danielroe changed the title fix: use JSValue in preference to any fix: improve types for $resolve function Jul 28, 2023
@danielroe
Copy link
Member Author

danielroe commented Jul 28, 2023

I think this is good to go, but it will of course flag up the need to validate incoming val and get responses.

(Or maybe we could consider built-in utils for validating?)

@pi0 pi0 merged commit c200c1c into main Jan 19, 2024
@pi0 pi0 deleted the fix/any branch January 19, 2024 15:27
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.

2 participants