Skip to content

[Tracker] Documentation changes #1899

Description

@IzaakGough

Opening this issue to track issues which are resolved by documentation changes in a single place.

#1019

This is addressed in #1913

#1502

  • Needed doc change: document the caveat that setGlobalOptions() must run before function definitions are evaluated, and that with multi-file JS/ESM layouts, import order / module evaluation can prevent global options from applying as users expect.
  • Why: the current 2nd gen reference still states that setGlobalOptions() “sets default options for all functions written using the 2nd gen SDK,” but the docs do not mention the multi-file / ESM import-order caveat or recommend a safe pattern. The organize/manage pages also do not describe this.
  • Docs checked: 2nd gen API reference, Manage functions, Organize multiple functions

#1616

The documentation regarding the process of upgrading from v1 to v2 has been updated here to make things clearer.

Activity

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

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