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

[rest_api source] Extend the resolve params to fetch an pass a list of parameters #2144

Open
francescomucio opened this issue Dec 12, 2024 · 0 comments

Comments

@francescomucio
Copy link
Contributor

Feature description

Some APIs allow to pass a list of elements to collect further details on some resources, this is a way to limit the number of calls.

The idea would be something like:

        "params": {
            "resource_id": {
                "type": "resolve_list",
                "field": "id",
                "resource": "parent_resource",
                "list_size": 100
            },
        },

A few notes:

  • this must work with query params (this is where usually you pass arrays). So this issue needs to be solved too.
  • would be nice to sort out this too.

Are you a dlt user?

Yes, I run dlt in production.

Use case

APis accepting arrays of elements

Proposed solution

Add an additional params type

Related issues

No response

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

No branches or pull requests

1 participant