Socket
Socket
Sign inDemoInstall

graphql-genie

Package Overview
Dependencies
21
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.21 to 0.4.22

tsconfig.test.json

0

.eslintrc.js
module.exports = {
"extends": "google"
};

@@ -0,0 +0,0 @@ ---

@@ -0,0 +0,0 @@ ---

@@ -0,0 +0,0 @@ - [Connections](#connections)

@@ -0,0 +0,0 @@ - [GraphQLGenie API](#graphqlgenie-api)

@@ -0,0 +0,0 @@ - [Mutations](#mutations)

@@ -0,0 +0,0 @@

@@ -0,0 +0,0 @@

8

lib/TypeGeneratorUtilities.js

@@ -145,8 +145,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

const reslovedTypeName = typeNameResolver(fieldTypeName);
if (typeName === fieldTypeName) {
if (relation) {
relations.setRelation(relation.name, reslovedTypeName, field.name, typeIsList(field.type));
}
else if (typeName === fieldTypeName) {
relations.setSelfRelation(`${field.name}On${typeName}`, reslovedTypeName, field.name, typeIsList(field.type));
}
else if (relation) {
relations.setRelation(relation.name, reslovedTypeName, field.name, typeIsList(field.type));
}
else {

@@ -153,0 +153,0 @@ const fieldTypeInfo = schemaInfo[fieldTypeName];

@@ -0,0 +0,0 @@ {

{
"name": "graphql-genie",
"version": "0.4.21",
"version": "0.4.22",
"description": "GraphQL Genie",

@@ -44,3 +44,3 @@ "browser": "./lib/browser.umd.js",

"tag": "git tag -a v`npm v graphql-genie version` && git push origin --tags",
"installPluginDevDependencies": "cd plugins/genie-persistence && yarn install"
"installPluginDevDependencies": "cd plugins/genie-persistence && npm install"
},

@@ -47,0 +47,0 @@ "jest": {

@@ -0,0 +0,0 @@ <h1 align="center">

@@ -0,0 +0,0 @@ import commonjs from 'rollup-plugin-commonjs';

@@ -0,0 +0,0 @@ import commonjs from 'rollup-plugin-commonjs';

@@ -160,6 +160,6 @@ import { GraphQLArgument, GraphQLInputObjectType, GraphQLList, GraphQLNamedType, GraphQLObjectType, GraphQLOutputType, GraphQLResolveInfo, GraphQLSchema, GraphQLType, IntrospectionObjectType, IntrospectionType, defaultFieldResolver, getNamedType, isEnumType, isInterfaceType, isObjectType, isScalarType, isUnionType } from 'graphql';

const reslovedTypeName = typeNameResolver(fieldTypeName);
if (typeName === fieldTypeName) {
if (relation) {
relations.setRelation(relation.name, reslovedTypeName, field.name, typeIsList(field.type));
} else if (typeName === fieldTypeName) {
relations.setSelfRelation(`${field.name}On${typeName}`, reslovedTypeName, field.name, typeIsList(field.type));
} else if (relation) {
relations.setRelation(relation.name, reslovedTypeName, field.name, typeIsList(field.type));
} else {

@@ -166,0 +166,0 @@ const fieldTypeInfo = schemaInfo[fieldTypeName];

@@ -0,0 +0,0 @@ {

{
"extends": "tslint-genie-rules"
}

@@ -0,0 +0,0 @@ const fs = require('fs')

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc