You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Harvest v2 API returns nested objects, e.g. project.client, user_assignment.project, user_assignment.user, time_entry.user, etc. Harvesting's dynamic accessor generation scheme only supports accessing a flat data structure. In order to access all the data returned via the Harvest v2 API, the Harvesting Models need methods that access nested data.
The text was updated successfully, but these errors were encountered:
@gap777 Thanks for submitting this issue and this PR: #15
I believe we are on the right track to add all nested objects. I think your PR adds support for some of them and should be used as a guide for more nested objects.
Once we make sure all nested objects are accessible we can close this issue.
I agree with you - there's a lot that could be included (eg Estimates API, Roles, Company). Maybe wait until someone asks for more pieces and add them then?
The Harvest v2 API returns nested objects, e.g. project.client, user_assignment.project, user_assignment.user, time_entry.user, etc. Harvesting's dynamic accessor generation scheme only supports accessing a flat data structure. In order to access all the data returned via the Harvest v2 API, the Harvesting Models need methods that access nested data.
The text was updated successfully, but these errors were encountered: