-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
Ex:
-- Auto-generated interface
` public partial interface IProductSelection : IGlassBase
{
/// <summary>Represents the Product field (7887e669-df79-4ba0-b7bb-2c43d6da77c7).</summary>
//[SitecoreField(FieldName = IProductSelectionConstants.ProductFieldName)]
[SitecoreField(IProductSelectionConstants.ProductFieldName)]
Guid Product { get; }
}`
-- Manually generated interface
public partial interface IProductSelection { [SitecoreField(IProductSelectionConstants.ProductFieldName)] IProduct ProductObject { get; } }
-- Manually generated interface for IProduct
public partial interface IProduct : IProductTitle { [SitecoreChildren(InferType = true)] IEnumerable<IProductPricing> ProductPricings { get; set; } }
In this example, ProductObject might be null where Product is not. The behavior seems inconsistent, but even if ProductObject is not null, its children doesn't get populated correctly (ProductPricings)
Metadata
Metadata
Assignees
Labels
No labels