Objectsender missing diff step?

Objective:

I’m picking up on my app from earlier this year, where I raised a question regarding updating a Speckle project with a new commit.

Since then the objectsender has been released and I am in process of implementing that package instead of my own implementation.

Issue:

Got the initial project and object creation to work with the objectsender, so that is all fine.

However, I’m having trouble making changes to the objects in my Speckle project. (Viewer and data fetching stop working after making an update.)

Workflow of updating is like this:

  • Fetch Speckle objects
  • Dereference objects
  • Display objects to user
  • User makes changes to some object values
  • User clicks “save” and all objects are send to the server.

So I’m looking at the Python SDK where there is a call to the /api/diff/{projectId} before sending the objects (with some subsequent filtering of new objects), which I assume takes care of the diffing and only sends the relevant (updated) objects.

I can’t find this in the objectsender SDK, is it correctly assumed that it is missing/not implemented?

  • If yes, is there a workaround, is the update in-progress/on the roadmap or would you be happy to accept a PR?
  • if no, could you point me in the right direction to get it to work?

Speckle Link

Link to project after updating.

1 Like