Skip to content

docs: document IndexFaker usage#638

Open
YNan-varamor wants to merge 1 commit into
bchavez:masterfrom
YNan-varamor:docs/610-indexfaker-readme
Open

docs: document IndexFaker usage#638
YNan-varamor wants to merge 1 commit into
bchavez:masterfrom
YNan-varamor:docs/610-indexfaker-readme

Conversation

@YNan-varamor

Copy link
Copy Markdown

Summary

Adds a README section showing how to use IndexFaker to derive values from the current generated-object index within a Faker<T> instance.

Why

Fixes #610. IndexFaker is documented in XML comments, but it is not discoverable from the main README. The new example places it near the existing generation examples and demonstrates a common cyclic assignment pattern.

Validation

  • Ran git diff --check
  • Reviewed Source/Bogus/Faker.cs XML documentation for IndexFaker
  • Compared the example pattern with existing UniquenessTests.should_be_able_to_drive_internal_index

Notes

This is a documentation-only change, so I did not run the full test suite.

AI assistance disclosure

This PR was prepared with assistance from OpenAI Codex. The change was reviewed locally and kept to a focused documentation update.

@YNan-varamor
YNan-varamor marked this pull request as ready for review June 23, 2026 04:42
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.

No documentation for IndexFaker

1 participant