Skip to content
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

[3/n] Change default thunk pruning level to 'omit' #206

Merged

Conversation

andrewchang-bird
Copy link
Contributor

Although the parser+generator is relatively mature, the surface area of source changes with the potential to cause broken generated mocks is still quite large. To improve the developer experience and initial setup process, this change flips the default thunk pruning level from 'stub' which still generates declarations for unused types, to 'omit' which only creates mocks for referenced types in tests.

See also: #174

@andrewchang-bird andrewchang-bird added this to the Release 0.17 milestone Jul 2, 2021
@andrewchang-bird andrewchang-bird changed the title Change default thunk pruning level to 'omit' [3/n] Change default thunk pruning level to 'omit' Jul 3, 2021
Although the parser+generator is relatively mature, the surface area of
source changes with the potential to cause broken generated mocks is
still quite large. To improve the developer experience and initial setup
process, this change flips the default thunk pruning level from 'stub'
which still generates *declarations* for unused types, to 'omit' which
only creates mocks for referenced types in tests.

See also: typealiased#174
@andrewchang-bird andrewchang-bird merged commit 56a5690 into typealiased:master Jul 9, 2021
@andrewchang-bird andrewchang-bird deleted the thunk-pruning-default branch July 9, 2021 21:18
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.

None yet

2 participants