Skip to content

Improve precision of IDB API and add tests #569

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

Merged
merged 8 commits into from
Sep 9, 2021
Merged

Improve precision of IDB API and add tests #569

merged 8 commits into from
Sep 9, 2021

Conversation

japgolly
Copy link
Contributor

@japgolly japgolly commented Sep 6, 2021

No description provided.

@japgolly japgolly requested a review from armanbilge September 6, 2021 06:04
@japgolly
Copy link
Contributor Author

japgolly commented Sep 6, 2021

wait up i'll rebase

@japgolly japgolly force-pushed the topic/idb branch 2 times, most recently from a25e5b7 to 1023e0c Compare September 6, 2021 06:14
@japgolly
Copy link
Contributor Author

japgolly commented Sep 6, 2021

Ok cool, rebased, tweaked, and ready for review

@japgolly japgolly added this to the v2.0.0 milestone Sep 6, 2021
Copy link
Member

@armanbilge armanbilge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks pretty awesome, adding type parameters to this API is obviously a big win. Most just questions since I'm not so familiar with IDB.

* Stop using js.Any in IDB
* Replace all uses of Any with something more specific
* Improve type safety of various methods
* Add missing API
* Add more ScalaDoc
* Change constants to match the JS names
@japgolly japgolly requested a review from armanbilge September 9, 2021 00:25
@japgolly
Copy link
Contributor Author

japgolly commented Sep 9, 2021

Ok @armanbilge I've updated this again, and addressed all the feedback. You can read the expanded commit messages for the changes.

Copy link
Member

@armanbilge armanbilge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your massive efforts on this!! Learned a lot too.

@armanbilge armanbilge merged commit bece5e6 into master Sep 9, 2021
@armanbilge armanbilge deleted the topic/idb branch September 9, 2021 01:05
@japgolly
Copy link
Contributor Author

japgolly commented Sep 9, 2021

Awesome! Thanks for the lengthy review too

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