Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-genie

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-genie - npm Package Compare versions

Comparing version 0.4.11 to 0.4.12

7

docs/sdl.md

@@ -11,3 +11,3 @@

**GraphQL Genie works off regular [GraphQL type defintions](https://graphql.org/learn/schema/) with some additional features**
**GraphQL Genie works off regular [GraphQL type definitions](https://graphql.org/learn/schema/) with some additional features**

@@ -25,3 +25,3 @@ GraphQL Genie supports interfaces and unions! You may want to look into using the `@storeName` [custom directive](#custom-directives-you-can-use) and see special concerns in [altering your schema](#altering-your-schema) when using them.

* Genie will compute relations automatically (like between User and Address below) but if the relation is ambiguous the @relation directive should be used
* If a related object is delated, it's related nodes will be set to null
* If a related object is deleted, it's related nodes will be set to null
* **@default(value: String!)**

@@ -104,3 +104,3 @@ * The directive @default(value: String!) sets a default value for a scalar field.

If you are adding a single existing type to a new union or interface you will similarily have to use the `@storeName` [custom directive](#custom-directives-you-can-use).
If you are adding a single existing type to a new union or interface you will similarly have to use the `@storeName` [custom directive](#custom-directives-you-can-use).

@@ -126,2 +126,1 @@

* [Import data](https://github.com/genie-team/graphql-genie/blob/master/docs/GraphQLGenieAPI.md#importrawdata) into the new schema genie by calling [`importRawData`](https://github.com/genie-team/graphql-genie/blob/master/docs/GraphQLGenieAPI.md#importrawdata) or using the [`importData`](https://github.com/genie-team/graphql-genie/blob/master/docs/mutations.md#import-data) mutation and pass in the result of the export.

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

import { each, find, findIndex, forOwn, get, has, isArray, isEmpty, isEqual, isPlainObject, isString, keys, set, toString } from 'lodash';
import fortuneCommon from '../node_modules/fortune/lib/adapter/adapters/common';
import fortuneCommon from 'fortune/lib/adapter/adapters/common';
import { Connection } from './GraphQLGenieInterfaces';

@@ -15,0 +15,0 @@ import { computeRelations } from './TypeGeneratorUtilities';

{
"name": "graphql-genie",
"version": "0.4.11",
"version": "0.4.12",
"description": "GraphQL Genie",

@@ -5,0 +5,0 @@ "browser": "./lib/browser.umd.js",

@@ -60,3 +60,3 @@ import commonjs from 'rollup-plugin-commonjs';

],
external: ['graphql-subscriptions', 'graphql-tools', 'fortune', 'lodash', 'graphql', 'graphql/language', 'graphql/execution/values', 'graphql/language/printer', 'graphql/error']
external: ['graphql-subscriptions', 'graphql-tools', 'fortune', 'fortune/lib/adapter/adapters/common', 'lodash', 'graphql', 'graphql/language', 'graphql/execution/values', 'graphql/language/printer', 'graphql/error']

@@ -63,0 +63,0 @@ }

@@ -45,3 +45,3 @@ import commonjs from 'rollup-plugin-commonjs';

],
external: ['graphql-subscriptions', 'graphql-tools', 'fortune', 'lodash', 'graphql', 'graphql/language', 'graphql/execution/values', 'graphql/language/printer', 'graphql/error']
external: ['graphql-subscriptions', 'graphql-tools', 'fortune', 'fortune/lib/adapter/adapters/common', 'lodash', 'graphql', 'graphql/language', 'graphql/execution/values', 'graphql/language/printer', 'graphql/error']
}

@@ -48,0 +48,0 @@ ];

@@ -5,3 +5,3 @@ import { atob, btoa } from 'abab';

import { each, find, findIndex, forOwn, get, has, isArray, isEmpty, isEqual, isPlainObject, isString, keys, set, toString } from 'lodash';
import fortuneCommon from '../node_modules/fortune/lib/adapter/adapters/common';
import fortuneCommon from 'fortune/lib/adapter/adapters/common';
import { Connection, DataResolver, DataResolverInputHook, DataResolverOutputHook, Features, FortuneOptions, GenericObject } from './GraphQLGenieInterfaces';

@@ -8,0 +8,0 @@ import { computeRelations } from './TypeGeneratorUtilities';

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

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc