#social 2021-02-07

2021-02-07 UTC
Pob_ joined the channel
#
Pob_
Hi
paul and sl007 joined the channel
#
csarven
Would a Collection without `items`/`orderedItems `be considered empty? Would the same Collection having `first` potentially non-empty (assuming CollectionPage has items with at least one member)?
#
rhiaro
I think a collection without items but with a value in first which is a CollectionPage URI is normal usage
#
rhiaro
you might want totalItems on the Collection
Grishka joined the channel
#
Grishka
IMO there are two cases when a collection could be considered empty
#
Grishka
1. it has items/orderedItems, and it's an empty array
#
Grishka
2. it has totalItems=0
#
Grishka
otherwise it must have an id, and you have to follow that url for a more complete representation
#
rhiaro
yeah, you wouldn't know for sure about a collection being empty just through the absence of items/orderedItems, you just wouldn't have that information
timbl, join_subline, paul and timbl_ joined the channel
#
jarofgreen
Grishka: Those fixes are on my live server now
#
jarofgreen
Grishka: I have some other log messages I want to look into tho
paul and join_subline joined the channel