-
-
Notifications
You must be signed in to change notification settings - Fork 299
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
Overhaul typing support #1104
Closed
Closed
Overhaul typing support #1104
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jdalrymple
changed the title
Experiment with extensions
Fixing union types that are used to control camelCase and snake_case response objects
Aug 22, 2020
So this should technically work, but ill have to update alot more references i think. |
jdalrymple
force-pushed
the
1088-union-typing
branch
2 times, most recently
from
October 13, 2020 22:34
e787947
to
4460a84
Compare
jdalrymple
force-pushed
the
1088-union-typing
branch
from
December 18, 2020 19:39
8e4ab41
to
fcb230f
Compare
Bumps [auto](https://github.com/intuit/auto) from 9.50.1 to 9.52.0. - [Release notes](https://github.com/intuit/auto/releases) - [Changelog](https://github.com/intuit/auto/blob/master/CHANGELOG.md) - [Commits](intuit/auto@v9.50.1...v9.52.0) Signed-off-by: dependabot-preview[bot] <[email protected]> Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com> Co-authored-by: Justin Dalrymple <[email protected]>
jdalrymple
force-pushed
the
1088-union-typing
branch
from
December 18, 2020 20:18
fcb230f
to
001fbdb
Compare
Having trouble sorting out the typings :( I posted up an example situation on SO to hopefully get some guidance |
Finished the first pass, going to double check what has been added and include supplemental TODO's for the next PR |
Breaking this PR up into cleaner pieces |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Played around with conditional typing. Sorta based off this
Specific example here
fixes: #1088 #1306 #1482 #1218 #519
Update
Finally got the typing to work, next steps are:
📦 Published PR as canary version:
29.0.0--canary.1104.301157685.0
✨ Test out this PR locally via: