Thanks to visit codestin.com
Credit goes to github.com

Skip to content

refactor: replace --gateway flag with --asgi boolean flag #383

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

Merged
merged 2 commits into from
Jun 23, 2025

Conversation

taeold
Copy link
Contributor

@taeold taeold commented Jun 20, 2025

Simplify the CLI by replacing --gateway asgi with --asgi. The new flag is more intuitive as WSGI remains the default and ASGI is opt-in. Also updates the environment variable to FUNCTION_USE_ASGI for clarity.

# BEFORE
$ functions-framework --target hello_world --gateway asgi

# AFTER
$ functions-framework --target hello_world --asgi

taeold added 2 commits June 19, 2025 19:09
Simplify the CLI by replacing `--gateway asgi` with `--asgi`. The new flag is more
intuitive as WSGI remains the default and ASGI is opt-in. Also updates the environment
variable to FUNCTION_USE_ASGI for clarity.
@taeold taeold requested a review from maemayve June 20, 2025 03:08
@maemayve maemayve merged commit 58deaf1 into GoogleCloudPlatform:main Jun 23, 2025
55 checks passed
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.

2 participants