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

Reintroduce getMany optional method #384

Merged
merged 3 commits into from
Jul 5, 2022

Conversation

trevor-scheer
Copy link
Contributor

Reinstates #362

The undefined | undefined type was happening via xo's fix option due to a lint config which forbids the use of null (and converts to undefined (@typescript-eslint/ban-types). In hindsight, I'm not sure the null was correct there to begin with.

@codecov
Copy link

codecov bot commented Jun 22, 2022

Codecov Report

Merging #384 (3134a1d) into main (6a60aae) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #384   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines         1113      1113           
=========================================
  Hits          1113      1113           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6a60aae...3134a1d. Read the comment docs.

@jaredwray
Copy link
Owner

@trevor-scheer - it looks like this definition was rolled back because it broke other clients.

@trevor-scheer
Copy link
Contributor Author

@jaredwray i asked to have this reverted originally because the typing was incorrect on the original PR and it wasn't ready to be merged in the first place. Where is there a report of broken clients? This is marked as optional so shouldn't be a breaking change unless the types are wrong.

@jaredwray jaredwray merged commit daa9079 into jaredwray:main Jul 5, 2022
@trevor-scheer trevor-scheer deleted the trevor/getmany branch July 18, 2022 17:54
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