feat(templateengine): ResolvedAttribute.DefaultDataSourceReference — pre-binding default for the Configure page; excluded from the revision hash (pinned)

This commit is contained in:
Joseph Doherty
2026-08-20 15:53:05 -04:00
parent 4cfd9337a3
commit 3acb79d97e
3 changed files with 103 additions and 1 deletions
@@ -78,6 +78,17 @@ public sealed record ResolvedAttribute
/// </summary>
public string? DataSourceReference { get; init; }
/// <summary>
/// The data-source reference as resolved from the template chain BEFORE any
/// per-instance <c>InstanceConnectionBinding.DataSourceReferenceOverride</c> was
/// applied — i.e. the template/composed default the Configure page shows as the
/// placeholder. Equals <see cref="DataSourceReference"/> when no override is set;
/// null for attributes that are not data-sourced.
/// Central-side presentation data only: deliberately excluded from the revision
/// hash (<c>RevisionHashService</c> projects through <c>HashableAttribute</c>).
/// </summary>
public string? DefaultDataSourceReference { get; init; }
/// <summary>
/// If data-sourced: the resolved connection ID from the instance binding.
/// </summary>