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

Support nested structures in import command #54

Open
lawrencejones opened this issue Jul 24, 2023 · 0 comments
Open

Support nested structures in import command #54

lawrencejones opened this issue Jul 24, 2023 · 0 comments

Comments

@lawrencejones
Copy link
Member

When running an import on source data that is nested, we will fail. This is because we try shoving whatever we find at the top-level key of any entry into the attributes and that's not going to work that well.

We should:

  1. Recurse into the entry structures so we discover child keys, in a similar way as we do in https://github.com/incident-io/core/pull/11248
  2. Correct type the resulting catalog attribute from what we find in the entry (right now everything is a string)

I've opened this issue because the customer requesting the import command is going to be using a CSV, and that happens to mean we encounter neither of these problems. Figure we can leave this open until someone genuinely needs it.

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