import {Resolvers} from "./types";
{{#each queries}}import { {{name}}Query } from "{{../appPrefix}}/{{../graphqlFileRootPath}}queries/{{name}}Query";{{/each}}
{{#each mutations}}import { {{name}}Mutation } from "{{../appPrefix}}/{{../graphqlFileRootPath}}mutations/{{name}}Mutation";{{/each}}
{{#each scalars}}import { {{this}} } from "{{../appPrefix}}/{{../graphqlFileRootPath}}scalars/{{this}}";{{/each}}
{{#each typeResolvers}}{{#each fieldName}}import { {{../typeName}}{{capitalizedName}} } from "{{../../appPrefix}}/{{../../graphqlFileRootPath}}types/{{../typeName}}{{capitalizedName}}";{{/each}}{{/each}}

// Warning, this file is autogenerated, please don't change it manually.
// Your changes will get overwritten.

export const {{moduleName}}Resolvers: Resolvers = {
{{#each typeResolvers}}
    {{typeName}}: { {{#each fieldName}}{{name}}: {{../typeName}}{{capitalizedName}},{{/each}} }, {{/each}}
{{#if queries.length}}Query: { {{#each queries}}{{name}}: {{name}}Query,{{/each}} },{{/if}}
{{#if mutations.length}}Mutation: { {{#each mutations}}{{name}}: {{name}}Mutation,{{/each}} },{{/if}}
{{#if scalars.length}}// Scalars:{{/if}}
 {{#each scalars}}{{this}},{{/each}}

};
