Uploading the Repo
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
const Animal = {
|
||||
category: (parent, args, { categories }) =>
|
||||
categories.find((category) => category.id === parent.category),
|
||||
};
|
||||
module.exports = { Animal };
|
||||
Reference in New Issue
Block a user