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

Clarify allowed arguments for pipe_through & make router auth imports explicit #5311

Closed
wants to merge 4 commits into from

Conversation

nathanl
Copy link
Contributor

@nathanl nathanl commented Feb 27, 2023

I was confused about why :require_authenticated_user works, and after investigating, wanted to document it.

Also, update the generated code so that the functions the router imports from the auth module are explicitly listed, so that people are not encouraged to import GiantPileOfFunctions and make their router pipelines harder to understand.

@nathanl nathanl changed the title Clarify allowed arguments for pipe_through Clarify allowed arguments for pipe_through & make router auth imports explicit Feb 27, 2023
@nathanl
Copy link
Contributor Author

nathanl commented Mar 17, 2023

I'm getting test failures like test phx.gen.auth + argon2 has no compilation or formatter warnings (--no-live) (Phoenix.Integration.CodeGeneration.AppWithMySqlAdapterTest). Any guidance on how to run the generator myself from this repo and examine the output?

@chrismccord
Copy link
Member

❤️❤️❤️🐥🔥

@nathanl nathanl deleted the expand_doc branch August 2, 2023 18:36
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.

None yet

2 participants