From 3f2c00cac8f632771a87efa96266ad3d5b723fe9 Mon Sep 17 00:00:00 2001 From: Salman Date: Wed, 7 Sep 2022 17:35:02 +0530 Subject: [PATCH] chore: add config that causes bug --- config/plugins.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/plugins.js b/config/plugins.js index 602f0d2..68bab6f 100644 --- a/config/plugins.js +++ b/config/plugins.js @@ -10,6 +10,12 @@ module.exports = { configName: 'foo', queryString: 'api::foo.foo', uid: 'name', + relations: [{ + queryString: 'api::bar.bar', + relationName: 'bars', + parentName: 'foo', + relationSortFields: ['name'], + }], }, ], excludedTypes: [],