Skip to content

Commit

Permalink
[CHORE] update identifers cache comment to latest method names (#6348)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorT authored and runspired committed Aug 20, 2019
1 parent 9d18bd2 commit 69542df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/store/addon/-private/ts-interfaces/identifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ export interface StableRecordIdentifier extends StableIdentifier {
The method must return a unique (to at-least the given bucket) string identifier
for the given data as a string to be used as the `lid` of an `Identifier` token.
This method will only be called by either `getOrCreateIdentifier` or
This method will only be called by either `getOrCreateRecordIdentifier` or
`createIdentifierForNewRecord` when an identifier for the supplied data
is not already known via `lid` or `type + id` combo and one needs to be
generated or retrieved from a proprietary cache.
`data` will be the same data argument provided to `getOrCreateIdentifier`
`data` will be the same data argument provided to `getOrCreateRecordIdentifier`
and in the `createIdentifierForNewRecord` case will be an object with
only `type` as a key.
*/
Expand Down

0 comments on commit 69542df

Please sign in to comment.