Uploading the Repo

This commit is contained in:
Andrean
2022-03-09 22:16:51 +02:00
parent 53a8d56f1e
commit 2726127708
9 changed files with 2269 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
const Animal = {
category: (parent, args, { categories }) =>
categories.find((category) => category.id === parent.category),
};
module.exports = { Animal };