Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MichaelPonds opened this issue Feb 6, 2025 · 0 comments
Open

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

MichaelPonds opened this issue Feb 6, 2025 · 0 comments

Comments

@MichaelPonds
Copy link

MichaelPonds commented Feb 6, 2025

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant