Skip to content

Add state() faker shorthand #120

Description

@mcclowes

Found during a docs accuracy audit.

SYNTAX.md documented a state() shorthand generator, but it was never registered — vague errors with "Generator 'state' not found". The faker shorthand plugin (src/plugins/faker.ts:253-286) registers city, country, countryCode, zipCode, and streetAddress but not state.

The doc reference has been removed. If a state shorthand is wanted, register state: wrapNoArgs(() => faker.location.state()) and re-document it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions