Skip to content

No "selected: boolean" field in the generated catalog #120

@MichaelPonds

Description

@MichaelPonds

This tap requires a catalog to run. However, when the tap is run in discovery mode and a catalog is generated,

tap-xero --config config.json --discover > catalog.json

non of the streams have a "selected: true/false" field in the catalog. One has to be manually inserted.

For example, by default, the bank_transactions stream in the catalog is

      "stream": "bank_transactions",
      "metadata": [
        {
          "breadcrumb": [],
          "metadata": {
            "table-key-properties": [
              "BankTransactionID"

To enable, this must be replaced with

      "stream": "bank_transactions",
      "metadata": [
        {
          "breadcrumb": [],
          "metadata": {
            "selected": true,
            "table-key-properties": [
              "BankTransactionID"

Note the insertion of "selected": true. Is this the intentional behavior? It means that without sifting through the catalog, this tap will not sync any streams. Shouldn't there at least be a "selected": false for each stream?

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