The condition was always failing. With this patch, I was able to define listOf endpoints for my resources.