graphql-genie
Advanced tools
Comparing version 0.4.11 to 0.4.12
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
0
1003117
20835