MCPcopy Create free account
hub / github.com/codemix/graph / withParams

Method withParams

packages/graph/src/QueryContext.ts:105–107  ·  view source on GitHub ↗

* Create a new context with additional/updated parameters. * The original context remains unchanged.

(additionalParams: QueryParams)

Source from the content-addressed store, hash-verified

103 * The original context remains unchanged.
104 */
105 public withParams(additionalParams: QueryParams): QueryContext<TSchema> {
106 return new QueryContext(this.#graph, { ...this.#params, ...additionalParams }, this.#options);
107 }
108
109 /**
110 * Create a new context with updated options.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected