Skip to content

Update FakeItEasy docs for 8.0.0 (remove Provide / builder) - #184

Merged
tillig merged 1 commit into
mainfrom
feature/fakeiteasy-remove-provide
Jun 29, 2026
Merged

Update FakeItEasy docs for 8.0.0 (remove Provide / builder)#184
tillig merged 1 commit into
mainfrom
feature/fakeiteasy-remove-provide

Conversation

@tillig

@tillig tillig commented Jun 29, 2026

Copy link
Copy Markdown
Member

Summary

Updates the FakeItEasy integration documentation to match the 8.0.0 changes in Autofac.Extras.FakeItEasy, where the AutoFake.Provide<T>() methods and the builder constructor parameter were removed in favor of the configureAction constructor argument.

Changes

  • Rewrote the "Configuring Specific Dependencies" section to use the configureAction constructor argument (mirroring the Moq integration docs) instead of the removed Provide() methods.
  • Added a "Migrating from 7.0.0" section with before/after examples for instance registrations, implementation registrations, and the removed builder parameter.
  • Fixed a pre-existing error: the "Options for Fakes" example referenced a constructor parameter named onFakeCreated, but the actual parameter is configureFake.

Related

Companion to the library PR: autofac/Autofac.Extras.FakeItEasy#30

@tillig
tillig merged commit b947912 into main Jun 29, 2026
2 checks passed
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.

1 participant