Skip to content

[Form] fix: missing use statements in controller example #20937

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

Closed
wants to merge 2 commits into from

Conversation

silasjoisten
Copy link
Contributor

No description provided.

@silasjoisten silasjoisten requested a review from xabbuh as a code owner May 5, 2025 07:25
@carsonbot carsonbot added this to the 7.3 milestone May 5, 2025
@carsonbot carsonbot changed the title fix: missing use statements in controller example [Form] fix: missing use statements in controller example May 5, 2025
@javiereguiluz
Copy link
Member

Silas, thanks for your contribution. However, we're closing this PR without merging it.

The reason is that, to make docs more manageable (for both readers and maintainers), code examples not always list all the needed imports. What we do is:

  1. Add all needed imports the first time they are used in the doc page
  2. In the next examples, only show the new imports or the changed imports
  3. Add // ... as an indication that you must still include all the imports shown previously

So, given that in this page we include a full example of the controller with all the needed imports, it's OK that this example shown below don't include them again.

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants