JCM

#node.js

Posts com a tag node.js

    1. Introduction to GraphQL Mongo HelpersIf you are using MongoDB and GraphQL, you probably have some arguments on your resolvers to filter the data returned from MongoDB. Using those helpers you can reduce the amount of code duplication when doing that!
    1. Encapsulating data on GraphQL using LoadersIf you have already used GraphQL, you probably saw that it can consume data coming from the most varied sources, be it a local database or an external API, while centralizing them in a single, self-contained, API.
    2. Access Control List on GraphQL with LoadersIn our previous post, we saw how to encapsulate data from any data source to be used on our GraphQL resolvers using Loaders, now let’s see a more robust example of that, on how to create some access control rules directly on those loaders.