Which means that we get all the details of each project automatically, and we don't need to manually query for each project.
Queries will be done asynchronously and what's returned by RefreshAll<OBJECT>() or Refresh() is a Task, so we can Wait, or trigger whatever we want (a progress bar going forward for example).
Let me know what you think about it.
If you like it, we can mirror the technique across the rest of AsanaObjects.
Here's an example implementation of how this could be done:
https://github.com/niieani/AsanaNet/commit/6410ed0a0559fb9fba83dfed2383fc2609229486
With it, it's basically possible to do this:
Which means that we get all the details of each project automatically, and we don't need to manually query for each project. Queries will be done asynchronously and what's returned by
RefreshAll<OBJECT>()
orRefresh()
is a Task, so we can Wait, or trigger whatever we want (a progress bar going forward for example).Let me know what you think about it. If you like it, we can mirror the technique across the rest of AsanaObjects.