@effect-gql/core 1.4.9 → 1.4.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -59,7 +59,7 @@ function handleTupleTypeAST(ast, convertFn) {
59
59
  }
60
60
  return void 0;
61
61
  }
62
- function buildFieldsFromPropertySignatures(propertySignatures, convertFn, isInput) {
62
+ function buildFieldsFromPropertySignatures(propertySignatures, convertFn) {
63
63
  const fields = {};
64
64
  for (const field2 of propertySignatures) {
65
65
  const fieldName = String(field2.name);
@@ -168,7 +168,8 @@ var toGraphQLInputType = (schema) => {
168
168
  if (ast._tag === "TypeLiteral") {
169
169
  const fields = buildFieldsFromPropertySignatures(
170
170
  ast.propertySignatures,
171
- toGraphQLInputType);
171
+ toGraphQLInputType
172
+ );
172
173
  const typeName = schema.annotations?.identifier || `Input_${Math.random().toString(36).slice(2, 11)}`;
173
174
  return new GraphQLInputObjectType({
174
175
  name: typeName,