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