Skip to content

Add props support to player relationship subscriptions - #237

Merged
tudddorrr merged 1 commit into
developfrom
unity-subscription-props
Oct 12, 2026
Merged

tudddorrr merged 1 commit into
developfrom
unity-subscription-props

Conversation

@tudddorrr

Copy link
Copy Markdown
Contributor

Subscription props

  • SubscribeTo now accepts optional props, so subscriptions can carry metadata at creation time.
  • Added UpdateSubscriptionProps to update the props on an existing subscription.
  • Subscriptions now extend EntityWithProps, exposing their props like other entities.

Results and validation

  • Both calls return a SubscriptionUpsertResult reporting success, the subscription, and any rejected props.
  • Rejected props are parsed from bad request responses; other errors are still thrown.
  • Props are sanitised before being sent to the API.

Friend requests sample

  • The Friends demo now checks result.Success when sending a friend request.

@tudddorrr tudddorrr added enhancement New feature or request breaking This pull request contains a breaking change labels Oct 12, 2026
@tudddorrr
tudddorrr merged commit 01918f2 into develop Oct 12, 2026
3 checks passed
@tudddorrr
tudddorrr deleted the unity-subscription-props branch October 12, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking This pull request contains a breaking change enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant