airtable-json icon indicating copy to clipboard operation
airtable-json copied to clipboard

Support recursive populate

Open vjpr opened this issue 4 years ago • 9 comments

If a linked record links to another record, allow populating it.

vjpr avatar Sep 24 '20 19:09 vjpr

I've thought about this one. Could get messy though. Would be a useful feature, no doubt.

Arro avatar Sep 30 '20 11:09 Arro

@vjpr @Arro I was just about to implement this... I think it could be straight forward, just need to be recursive. @Arro are you up for a PR?

richarddavenport avatar Oct 10 '20 21:10 richarddavenport

@vjpr @Arro I was just about to implement this... I think it could be straight forward, just need to be recursive. @Arro are you up for a PR?

100% yes. Go for it.

Arro avatar Oct 11 '20 11:10 Arro

@Arro Do you know anything about the rate limits on airtable? I'm wondering if we'll run into that?

richarddavenport avatar Oct 11 '20 13:10 richarddavenport

Not really, but I've sought to hit their API as little as possible (per function call) for those reasons.

Arro avatar Oct 11 '20 13:10 Arro

@richarddavenport were you able to implement this?

nathanaelphilip avatar Jan 13 '21 00:01 nathanaelphilip

@nathanaelphilip I ended up just using the API directly. I'd have to take another look to see where I was at with this.

richarddavenport avatar Jan 13 '21 02:01 richarddavenport

@richarddavenport no problem! thanks for the response. I’ll probably end up doing the same to help prevent overloading the API

nathanaelphilip avatar Jan 13 '21 11:01 nathanaelphilip

@nathanaelphilip I have a feeling that if you do make recursive calls it will be the same amount of api calls if you don't do it recursive. I think you have to make an api call per "table".

richarddavenport avatar Jan 13 '21 13:01 richarddavenport