Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds
workspace_id
tracking for Receive and Send events.I was going to add support for fetching the workspace id to all of the
ProjectResource
queries, like I've done for the v3 sdk specklesystems/speckle-sharp-sdk#134But, since its important that the v2 SDK is compatible with older self hosted servers, I thought it would be easiest simply to
add a helper function just for this query. This avoids having to add a version check in each of the Project resources (which, at least right now in their current form don't have direct access to the underlying
GqlClient
.Needs through testing:
Test with app.speckle.systems:
null
Test with testing1
null
, nothing should throw!