Created
May 26, 2020 03:47
-
-
Save EdgardoRodriguezSolano/73a25925e5604a6815ab5ef8c8cbb0cf to your computer and use it in GitHub Desktop.
GraphQL resolver function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function articulo(parent, args, context) { | |
return context.prisma.categoria({ id: parent.id}).articulo({ | |
where: where(args), | |
skip: args.skip, | |
first: args.first}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment