Skip to content

Commit 23597d3

Browse files
committed
feat: make qsOptions property protected to enable inheritance
BREAKING CHANGE: Changed `qsOptions` property from private to protected to allow subclasses to access internal state. This enables better extensibility but may affect consumers who subclass DrupalJsonApiParams. - Changed `private qsOptions` to `protected qsOptions` in DrupalJsonApiParams class - Allows subclasses to access and modify internal qsOptions state - Improves library extensibility for advanced use cases
1 parent 5bf2694 commit 23597d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export class DrupalJsonApiParams implements DrupalJsonApiParamsInterface {
6969
fields: {},
7070
};
7171

72-
private qsOptions: object = {};
72+
protected qsOptions: object = {};
7373

7474
private config: DrupalJsonApiParamConfig = {
7575
useShortCutForQueryGeneration: true,

0 commit comments

Comments
 (0)