Hi @nelsonian , did you figure out a solution to this – I can’t work out a robust way of managing this and it seems so necessary as surely people aren’t going to Auth0 via the REST API for user reads?
e.g. Imagine trying to resolve an API request like this:
query Orders {
orders(first: 500) { # db.orders.findMany(500)
id
user { # auth0.getUser(order.userId) (* 500)
id
email
firstName
lastName
}
}
}
If the users were in your own DB you’d obviously do a join on orders → users, but if having to go to Auth0 you’d be performing 500 API calls in parallel (presumably hitting API rate limits) – there doesn’t appear to be any batch endpoints?