Skip to content

Code Generation guide incorrectly documents parameters only for 'generate model' command #2466

@zainforbjs

Description

@zainforbjs

Describe the bug
The Code Generation guide page is presented as a general reference for the wheels generate command and its available parameters/options. However, the documented attributes and parameter examples appear to only apply to the generate model command.

This makes the documentation misleading because other generators (such as scaffold, controller, migration, property, etc.) are not properly documented or differentiated.

Affected page:
Code Generation Guide

To Reproduce
Steps to reproduce the behavior:

  1. Open the Code Generation guide page
  2. Review the documented parameters/options for wheels generate
  3. Compare the documented attributes with actual generator behavior for commands such as:
    • wheels generate scaffold
    • wheels generate property
    • wheels generate controller
    • wheels generate migration
  4. Observe that the documentation primarily reflects only the generate model command

Expected behavior
The guide should either:

  • Clearly document parameters separately for each generator command
    OR
  • Explicitly state that the listed attributes apply only to generate model

Each generator should have accurate and command-specific parameter documentation.

Actual behavior

  • The page appears to describe the entire generate command ecosystem
  • Documented attributes/options only match generate model
  • Other generators are missing parameter documentation or behave differently than described

Desktop:

  • OS: Any
  • Browser: Any

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions