apollo-client
Advanced tools
Comparing version 0.3.27 to 0.3.28
@@ -63,7 +63,7 @@ "use strict"; | ||
}), fieldResult = _a.result, fieldIsMissing = _a.isMissing; | ||
var resultFieldKey = storeUtils_1.resultKeyNameFromField(selection); | ||
if (fieldIsMissing) { | ||
pushMissingField(selection); | ||
} | ||
else if (includeField) { | ||
var resultFieldKey = storeUtils_1.resultKeyNameFromField(selection); | ||
if (includeField && fieldResult !== undefined) { | ||
result[resultFieldKey] = fieldResult; | ||
@@ -70,0 +70,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import { NetworkInterface, createNetworkInterface } from './networkInterface'; | ||
import { NetworkInterface, createNetworkInterface, addQueryMerging } from './networkInterface'; | ||
import { GraphQLResult, Document, FragmentDefinition } from 'graphql'; | ||
@@ -11,3 +11,3 @@ import { print } from 'graphql-tag/printer'; | ||
import { MutationBehaviorReducerMap } from './data/mutationResults'; | ||
export { createNetworkInterface, createApolloStore, createApolloReducer, readQueryFromStore, readFragmentFromStore, addTypenameToSelectionSet as addTypename, writeQueryToStore, writeFragmentToStore, print as printAST }; | ||
export { createNetworkInterface, addQueryMerging, createApolloStore, createApolloReducer, readQueryFromStore, readFragmentFromStore, addTypenameToSelectionSet as addTypename, writeQueryToStore, writeFragmentToStore, print as printAST }; | ||
export declare let fragmentDefinitionsMap: { | ||
@@ -14,0 +14,0 @@ [fragmentName: string]: FragmentDefinition[]; |
"use strict"; | ||
var networkInterface_1 = require('./networkInterface'); | ||
exports.createNetworkInterface = networkInterface_1.createNetworkInterface; | ||
exports.addQueryMerging = networkInterface_1.addQueryMerging; | ||
var printer_1 = require('graphql-tag/printer'); | ||
@@ -5,0 +6,0 @@ exports.printAST = printer_1.print; |
{ | ||
"name": "apollo-client", | ||
"version": "0.3.27", | ||
"version": "0.3.28", | ||
"description": "A simple yet functional GraphQL client.", | ||
@@ -51,3 +51,3 @@ "main": "index.js", | ||
"colors": "^1.1.2", | ||
"concurrently": "^2.1.0", | ||
"concurrently": "^2.2.0", | ||
"dataloader": "^1.1.0", | ||
@@ -54,0 +54,0 @@ "es6-promise": "^3.1.2", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
209885
3092