@salesforce/lds-adapters-graphql 1.152.2 → 1.152.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2234,7 +2234,7 @@ const graphQLAdapterFactory = (luvio) => {
|
|
|
2234
2234
|
? requestContext.eventObservers
|
|
2235
2235
|
: [];
|
|
2236
2236
|
// uses the original ast to do the eval to avoid fields not needed by users. The draftID swapping happens when filters transform to predicates.
|
|
2237
|
-
return storeEval(validatedConfig, snapshotOrPromiseFromCachePolicy, observers);
|
|
2237
|
+
return storeEval(validatedConfig, snapshotOrPromiseFromCachePolicy, observers, keyBuilder);
|
|
2238
2238
|
}
|
|
2239
2239
|
return snapshotOrPromiseFromCachePolicy;
|
|
2240
2240
|
}
|
|
@@ -3,6 +3,8 @@ import type { LuvioDocumentNode } from '@luvio/graphql-parser';
|
|
|
3
3
|
import type { GraphQLVariables } from './type/Variable';
|
|
4
4
|
import type { Registration } from './configuration';
|
|
5
5
|
import type { DraftFunctions } from '@salesforce/lds-graphql-eval';
|
|
6
|
+
import { keyBuilder as connectionKeyBuilder } from './custom/connection';
|
|
7
|
+
export { connectionKeyBuilder };
|
|
6
8
|
export { namespace, representationName } from './util/adapter';
|
|
7
9
|
export declare const adapterName = "graphQL";
|
|
8
10
|
interface GraphQLConfig {
|
|
@@ -22,4 +24,3 @@ export declare const graphQLAdapterFactory: AdapterFactory<GraphQLConfig, unknow
|
|
|
22
24
|
export declare function graphqlConfigWithInjectedAST(graphqlConfig: GraphQLConfig): GraphQLConfig;
|
|
23
25
|
export declare function sanitizeConfig(graphqlConfig: GraphQLConfig, draftFunctions: DraftFunctions): GraphQLConfig;
|
|
24
26
|
export type { Registration };
|
|
25
|
-
export { keyBuilder as connectionKeyBuilder } from './custom/connection';
|
package/package.json
CHANGED
package/sfdc/index.js
CHANGED
|
@@ -2243,7 +2243,7 @@ const graphQLAdapterFactory = (luvio) => {
|
|
|
2243
2243
|
? requestContext.eventObservers
|
|
2244
2244
|
: [];
|
|
2245
2245
|
// uses the original ast to do the eval to avoid fields not needed by users. The draftID swapping happens when filters transform to predicates.
|
|
2246
|
-
return storeEval(validatedConfig, snapshotOrPromiseFromCachePolicy, observers);
|
|
2246
|
+
return storeEval(validatedConfig, snapshotOrPromiseFromCachePolicy, observers, keyBuilder);
|
|
2247
2247
|
}
|
|
2248
2248
|
return snapshotOrPromiseFromCachePolicy;
|
|
2249
2249
|
}
|
|
@@ -2287,4 +2287,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2287
2287
|
});
|
|
2288
2288
|
|
|
2289
2289
|
export { graphQL, graphQLImperative, unstable_graphQL_imperative };
|
|
2290
|
-
// version: 1.152.
|
|
2290
|
+
// version: 1.152.4-044bf00f2
|