Skip to content

Function Framework Config Defaults Not Adhered To #18

@grant

Description

@grant

The Functions Framework contract specifies defaults for:

  • FUNCTION_TARGET=function
  • FUNCTION_SIGNATURE_TYPE=http

https://github.com/GoogleCloudPlatform/functions-framework#parameters

Expected

The PHP FF should use these defaults if env vars aren't provided. There should be no fatal errors when omitting these configs.

Actual

router.php on line 53 throws a PHP Fatal error: Uncaught RuntimeException.

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