@@ -123,8 +123,8 @@ class User {
123123 user { ${ constants . userAttributes } },
124124 board { ${ constants . boardAttributes } },
125125 repl { ${ constants . replAttributes } },
126- comments(count: ${ global . initVariables . previewCount . comments || 10 } ) { ${ constants . commentAttributes } },
127- votes { id, user { ${ constants . userAttributes } } },
126+ comments(count: ${ global . initVariables . previewCount . comments || 10 } ) { items { ${ constants . commentAttributes } } },
127+ votes { items { id, user { ${ constants . userAttributes } } } },
128128 answeredBy { ${ constants . userAttributes } },
129129 answer { ${ constants . commentAttributes } }
130130 }
@@ -245,15 +245,15 @@ class User {
245245 items {
246246 ${ constants . commentAttributes } ,
247247 parentComment { ${ constants . commentAttributes } },
248- comments(count: ${ global . initVariables . previewCount . comments || 10 } ) { ${ constants . commentAttributes } },
248+ comments { ${ constants . commentAttributes } },
249249 user { ${ constants . userAttributes } },
250250 post {
251251 ${ constants . postAttributes } ,
252252 user { ${ constants . userAttributes } },
253253 board { ${ constants . boardAttributes } },
254254 repl { ${ constants . replAttributes } },
255- comments(count: ${ global . initVariables . previewCount . comments || 10 } ) { ${ constants . commentAttributes } },
256- votes { id, user { ${ constants . userAttributes } } },
255+ comments(count: ${ global . initVariables . previewCount . comments || 10 } ) { items { ${ constants . commentAttributes } } },
256+ votes { items { id, user { ${ constants . userAttributes } } } },
257257 answeredBy { ${ constants . userAttributes } },
258258 answer { ${ constants . commentAttributes } }
259259 }
0 commit comments