File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -347,9 +347,15 @@ export class DrupalJsonApiParams implements DrupalJsonApiParamsInterface {
347347 }
348348
349349 /**
350- * @ignore
350+ * Generate a unique key name for the given object.
351+ *
352+ * @param obj The object to generate a key name for.
353+ * @param proposedKey The proposed key name.
354+ * @param enforceKeyName Whether to enforce the key name.
355+ *
356+ * @returns The generated key name.
351357 */
352- private getIndexId ( obj : any , proposedKey : string , enforceKeyName ?: boolean ) : string {
358+ protected getIndexId ( obj : any , proposedKey : string , enforceKeyName ?: boolean ) : string {
353359 enforceKeyName = enforceKeyName || this . config . alwaysUseFieldNameForKeys ;
354360 let key : string ;
355361 if ( obj [ proposedKey ] === undefined ) {
You can’t perform that action at this time.
0 commit comments