Skip to content

Warehouses control via Integration Object is always either true or false, never specific #1219

Closed as not planned
@lucasassisrosa

Description

@lucasassisrosa

According to https://segment.com/docs/connections/storage/warehouses/faq/#send-data-to-specific-warehouses, we should be able to control which Warehouses we want to use via Integrations Object. On latest version of @segmentanalytics-next (npm:next-1.77.0), if I provide the Integrations Object as:

  Warehouses: {
    all: false,
  }

The Segment event calls (track, page) show Warehouses: true in request payload instead. Same if I try to pass warehouseIds:

  (...)
  Warehouses: {
    all: false,
    warehouseIds: ["3dasf42dd"]
  }

The only Integrations Object config that's exactly passed in event calls are Warehouses: true or Warehouses: false.

Environment

Lib Version
Node 20.17.0
Segment 1.77.0

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