Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(rawConfig: JavaResolversPluginRawConfig, private _schema: GraphQLSchema, defaultPackageName: string) {
super(rawConfig, {
mappers: transformMappers(rawConfig.mappers || {}),
package: rawConfig.package || defaultPackageName,
defaultMapper: parseMapper(rawConfig.defaultMapper || 'Object'),
className: rawConfig.className || 'Resolvers',
listType: rawConfig.listType || 'Iterable',
scalars: buildScalars(_schema, rawConfig.scalars, JAVA_SCALARS),
});
}