Skip to content

feat: deprecate getByName helpers #66

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 1 commit into from
Nov 19, 2018
Merged

Conversation

thymikee
Copy link
Member

Summary

Deprecating getByName, getAllByName and related query* APIs. They proved promoting fragile tests and should be avoided.

Test plan

This is only temporary so I've decided to just leave the warnings so we can also see them in our tests. If it starts to annoy maintainers, we'll need to mock the logDeprecationWarning helper and snapshot the output.

screenshot 2018-11-19 at 15 09 25

@thymikee thymikee requested a review from Esemesek November 19, 2018 14:11
@Esemesek Esemesek merged commit e407ff0 into master Nov 19, 2018
@Esemesek Esemesek deleted the feat/depreacteGetByName branch November 19, 2018 14:16
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