@operato/graphql
Advanced tools
Comparing version 1.4.64 to 1.4.76
@@ -6,2 +6,11 @@ # Change Log | ||
### [1.4.76](https://github.com/hatiolab/operato/compare/v1.4.75...v1.4.76) (2023-09-18) | ||
### :bug: Bug Fix | ||
* databind-copy icon ([b65e04a](https://github.com/hatiolab/operato/commit/b65e04abaeed077c83819d3b14b25ff1d7bfbc1b)) | ||
### [1.4.64](https://github.com/hatiolab/operato/compare/v1.4.63...v1.4.64) (2023-09-13) | ||
@@ -8,0 +17,0 @@ |
@@ -7,4 +7,5 @@ export const CONTEXT_KEY = '__context__'; | ||
export function buildGqlContext(context) { | ||
if (!context) | ||
if (!context) { | ||
throw new Error('context is not passed'); | ||
} | ||
if (typeof context !== 'string') { | ||
@@ -11,0 +12,0 @@ context = JSON.stringify(context); |
@@ -5,3 +5,3 @@ { | ||
"author": "heartyoh@hatiolab.com", | ||
"version": "1.4.64", | ||
"version": "1.4.76", | ||
"main": "dist/src/index.js", | ||
@@ -114,3 +114,3 @@ "module": "dist/src/index.js", | ||
}, | ||
"gitHead": "47382eb5b652aeb12fc530a9508921824e19aca0" | ||
"gitHead": "bfd768b684aaaeb5bf92aee141666110cba64b2a" | ||
} |
@@ -17,3 +17,6 @@ export const CONTEXT_KEY = '__context__' | ||
) { | ||
if (!context) throw new Error('context is not passed') | ||
if (!context) { | ||
throw new Error('context is not passed') | ||
} | ||
if (typeof context !== 'string') { | ||
@@ -20,0 +23,0 @@ context = JSON.stringify(context) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
156597
863