public void UpdateFakeProperties()

in src/Epam.GraphQL/Configuration/Implementations/Relations/ForeignKeyRelation.cs [49:58]


        public void UpdateFakeProperties(object? entity, object? childEntity, IDictionary<string, object?> childPropertyValues, object? fakePropertyValue)
        {
            if (childPropertyValues.TryGetValue(_propName, out var val))
            {
                if (entity != null && ((val == null && fakePropertyValue == null) || (val != null && val.Equals(fakePropertyValue))))
                {
                    childPropertyValues[_propName] = _idGetter(entity);
                }
            }
        }