Skip to content

Commit a28124b

Browse files
committed
feat: make config property protected to enable inheritance
BREAKING CHANGE: Changed `config` 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 config` to `protected config` in DrupalJsonApiParams class - Allows subclasses to access and modify internal config state - Improves library extensibility for advanced use cases
1 parent 23597d3 commit a28124b

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
@@ -71,7 +71,7 @@ export class DrupalJsonApiParams implements DrupalJsonApiParamsInterface {
7171

7272
protected qsOptions: object = {};
7373

74-
private config: DrupalJsonApiParamConfig = {
74+
protected config: DrupalJsonApiParamConfig = {
7575
useShortCutForQueryGeneration: true,
7676
alwaysUseFieldNameForKeys: false,
7777
};

0 commit comments

Comments
 (0)