<?xml version="1.0" encoding="UTF-8"?><oembed><type>video</type><version>1.0</version><html>&lt;iframe src=&quot;https://www.loom.com/embed/c8a96f0cdbc74dcf8fada181ca2f7144&quot; frameborder=&quot;0&quot; width=&quot;1662&quot; height=&quot;1246&quot; webkitallowfullscreen mozallowfullscreen allowfullscreen&gt;&lt;/iframe&gt;</html><height>1246</height><width>1662</width><provider_name>Loom</provider_name><provider_url>https://www.loom.com</provider_url><thumbnail_height>1246</thumbnail_height><thumbnail_width>1662</thumbnail_width><thumbnail_url>https://cdn.loom.com/sessions/thumbnails/c8a96f0cdbc74dcf8fada181ca2f7144-1b667e480fc1a556.gif</thumbnail_url><duration>371.255</duration><title>Adding Relation Schemas to SyncResults</title><description>This Loom explains the PR changes to add relation support to the SyncRelations and PublishRelations schemas and include those relations in results. The author gathers corresponding refined relation data per group ID, filters for relations and relation triple schemas needed for each group based on what is already published and imported, and then uses the result to create resource access. They describe utility functions for collecting refined relations, published IDs by group, relevant relation IDs per group, and the union of all relevant relations and schemas, with imported from space ID currently treated as a no op pending a future PR. The Loom then walks through a test publishing flow by publishing two nodes and then a related node, observing expected row additions and limited additional changes in the local user inbox.</description></oembed>