Skip to content
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

Relocate check for context files generation into context generator. #6010

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ShPakvel
Copy link
Contributor

@ShPakvel ShPakvel commented Dec 10, 2024

  • Relocate check for context files generation into context generator.

  • Invoke context files copy before parent generator files, to skip extra binding creation. It is not only skipping not used data passing in arguments, but also improve work with code as well (no need to double check if it is used data in context or not).

  • Apply the same improvement to schema generation check.

  • There were auto-formatting triggered on save for phx.gen.schema.ex file.

Invoke context files copy before parent generator files, to skip extra binding creation. It is not only skipping not used data passing in arguments, but also improve work with code as well (no need to double check if it is used data in context or not).
Also:
- Apply same improvement for `print_shell_instructions` function.
- There were auto-formatting triggered on save for `phx.gen.schema.ex` file.
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