Skip to content

Conversation

zeroshade
Copy link

Currently when using a decoder stream to read a Token at a time, it does not respect the UseNumber setting and unconditionally returns a float64 instead. This fixes the stream handling to properly respect the UseNumber setting. Also adds a unit test for the case.

@codecov-commenter
Copy link

Codecov Report

Merging #369 (865b215) into master (3fdc55a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #369   +/-   ##
=======================================
  Coverage   79.95%   79.95%           
=======================================
  Files          52       52           
  Lines       17555    17558    +3     
=======================================
+ Hits        14036    14039    +3     
  Misses       2951     2951           
  Partials      568      568           

@goccy
Copy link
Owner

goccy commented May 6, 2022

Thank you for the contribution !! LGTM !

@goccy goccy merged commit 23bd66f into goccy:master May 6, 2022
@zeroshade zeroshade deleted the stream-number-fix branch May 6, 2022 19:49
@zeroshade
Copy link
Author

Thanks for merging this @goccy when can i expect a version cut with this so I can point at it instead of my branch? 😄

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