Skip to content

Add environment field to code function handler #2

Open
@schickling

Description

The code function handler should accept a environment string:string-map like in the following example:

functions:

  auth:
    type: schemaExtension
    schema: my-schema.graphql
    handler:
      code:
        src: "my-script.js"
        environment:
          AUTH0_MASTER_TOKEN: prefix-${env:MY_AUTH0_TOKEN}

Activity

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

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