From 7ea1bcca99bc006823aea1c1e1a9175c9e35360c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Bryx=C3=AD?= Date: Wed, 14 Aug 2024 19:02:55 +0200 Subject: [PATCH] fix: Doc for query.ts (#9521) doc: Type in docs for query.ts Previously it was suggested that one of the parameters is `urlParamsSetting` (singular), but [looking at this line](https://github.com/emberjs/data/blob/eb9e8a9213d1dc74a132c36646929974d7acc742/packages/rest/src/-private/builders/query.ts#L93) (and experimenting with my code) I concluded that it should be `urlParamsSettings` (plural). --- packages/rest/src/-private/builders/query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rest/src/-private/builders/query.ts b/packages/rest/src/-private/builders/query.ts index 3e3733230cc..8aa749ee3c0 100644 --- a/packages/rest/src/-private/builders/query.ts +++ b/packages/rest/src/-private/builders/query.ts @@ -43,7 +43,7 @@ import { copyForwardUrlOptions, extractCacheOptions } from './-utils'; * - `backgroundReload` - Whether to reload the request if it is already in the store, but to also resolve the * promise with the cached value, not supplying this option will delegate to the store's CachePolicy, * defaulting to `false` if none is configured. - * - `urlParamsSetting` - an object containing options for how to serialize the query params (see `buildQueryParams`) + * - `urlParamsSettings` - an object containing options for how to serialize the query params (see `buildQueryParams`) * * ```ts * import { query } from '@ember-data/rest/request';