Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save robert-skarzycki/6bef9198e9b963e22b673bc134302263 to your computer and use it in GitHub Desktop.
Save robert-skarzycki/6bef9198e9b963e22b673bc134302263 to your computer and use it in GitHub Desktop.
Data for issue reproduction
var entity1 = new Car
{
Id = Guid.NewGuid(),
Name = "car-1",
Attributes = new Dictionary<string, AttributeValue>{
{"petrol",
new AttributeValue{
Id = Guid.NewGuid(),
Value="diesel",
}},
{"manufacturer",
new AttributeValue{
Id = Guid.NewGuid(),
Value="VW"
}}
}
};
var entity2 = new Car
{
Id = Guid.NewGuid(),
Name = "car-2",
Attributes = new Dictionary<string, AttributeValue>{
{"manufacturer",
new AttributeValue{
Id = Guid.NewGuid(),
Value="VW"
}},
{"petrol",
new AttributeValue{
Id = Guid.NewGuid(),
Value="petrol"
}
},
{"ABS",
new AttributeValue{
Id = Guid.NewGuid(),
Value="yes"
}
}
}
};
var entity3 = new Car
{
Id = Guid.NewGuid(),
Name = "car-3",
Attributes = new Dictionary<string, AttributeValue>{
{"manufacturer",
new AttributeValue{
Id = Guid.NewGuid(),
Value="Audi"
}},
{"petrol",
new AttributeValue{
Id = Guid.NewGuid(),
Value="lpg"
}
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment