How to use the forest-express-sequelize.ResourceGetter function in forest-express-sequelize

To help you get started, we’ve selected a few forest-express-sequelize examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ForestAdmin / graphql-stitcher / example / movies / Movies / graphql / movies.js View on Github external
get_movies: async (obj, { id }, context, info) => {
          return await new Liana.ResourceGetter(models.movies, { recordId: id }).perform();
        },
      },
github ForestAdmin / graphql-stitcher / example / meals / Meals / graphql / customers.js View on Github external
get_customers: async (obj, { id }, context, info) => {
          return await new Liana.ResourceGetter(models.customers, { recordId: id }).perform();
        },
      },
github ForestAdmin / graphql-stitcher / example / meals / Meals / graphql / products.js View on Github external
get_products: async (obj, { id }, context, info) => {
          return await new Liana.ResourceGetter(models.products, { recordId: id }).perform();
        },
      },
github ForestAdmin / graphql-stitcher / example / meals / Meals / graphql / chefs.js View on Github external
get_chefs: async (obj, { id }, context, info) => {
          return await new Liana.ResourceGetter(models.chefs, { recordId: id }).perform();
        },
      },
github ForestAdmin / graphql-stitcher / example / movies / Movies / graphql / genres_movies.js View on Github external
get_genres_movies: async (obj, { id }, context, info) => {
          return await new Liana.ResourceGetter(models.genres_movies, { recordId: id }).perform();
        },
      },
github ForestAdmin / graphql-stitcher / example / movies / Movies / graphql / countries_movies.js View on Github external
get_countries_movies: async (obj, { id }, context, info) => {
          return await new Liana.ResourceGetter(models.countries_movies, { recordId: id }).perform();
        },
      },
github ForestAdmin / graphql-stitcher / example / meals / Meals / graphql / orders.js View on Github external
get_orders: async (obj, { id }, context, info) => {
          return await new Liana.ResourceGetter(models.orders, { recordId: id }).perform();
        },
      },
github ForestAdmin / graphql-stitcher / example / movies / Movies / graphql / actors.js View on Github external
get_actors: async (obj, { id }, context, info) => {
          return await new Liana.ResourceGetter(models.actors, { recordId: id }).perform();
        },
      },
github ForestAdmin / graphql-stitcher / example / meals / Meals / graphql / orders_products.js View on Github external
get_orders_products: async (obj, { id }, context, info) => {
          return await new Liana.ResourceGetter(models.orders_products, { recordId: id }).perform();
        },
      },
github ForestAdmin / graphql-stitcher / example / movies / Movies / graphql / comments.js View on Github external
get_comments: async (obj, { id }, context, info) => {
          return await new Liana.ResourceGetter(models.comments, { recordId: id }).perform();
        },
      },