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
introduce StringOrBool
to workaround illegal implementation
#84
Conversation
StringOrBool
to workaround illegal implementationStringOrBool
to workaround illegal implementation
StringOrBool
to workaround illegal implementationStringOrBool
to workaround illegal implementation
hey, thanks for the PR! In order to avoid introducing a breaking change, I'd suggest only changing the For this change, let's follow the example of the Lines 1192 to 1216 in 769f796
Internally, it uses a Lines 1004 to 1010 in 769f796
In this case, however, we should only need to specify a |
Thanks for the pointers. Might be some stylistic things to clear up, but think this is largely what you were suggesting. Let me know! |
Codecov Report
@@ Coverage Diff @@
## main #84 +/- ##
==========================================
- Coverage 72.28% 72.21% -0.08%
==========================================
Files 16 16
Lines 3753 3779 +26
==========================================
+ Hits 2713 2729 +16
- Misses 1040 1050 +10
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
thanks! looks ready to merge once the 1.45.0 build passes. thanks for adding a test! feel free to ignore the codecov target |
This has now been released in 2.4.0! |
This is a kludge I'm using to work with Apple OAuth. They send string bools for these fields, sadly.
It's not really a merge-worthy fix, but if you can suggest a more appropriate way of integrating this (I'm sure it's a large use-case for your consumers of this library), I'm happy to throw it together.