Skip to content

Setting server variables #1161

Description

@corwin-of-amber

Some services have different subdomains for different clients. e.g. https://{workspace}.example.org. This is addressed by variables.

At the moment, setting variables is only possible via the .server() function call. However, there are a few problems.

  • The server base URL must match that of one of the existing servers, as per Unable to change server. #921. This means the user has to reconstruct the pattern (https://{workspace}.example.org) from the spec.
  • The call is silently ignored if the URL does not match.

I noticed there is also a bug in the latest stable release that server #0 was also skipped. This was changed in the main branch, but I have not been able to test the beta release.

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