Skip to content

Commit

Permalink
feat(definitions/models): change formatModelId separator
Browse files Browse the repository at this point in the history
  • Loading branch information
BaptisteMartinet committed Aug 4, 2024
1 parent 8921820 commit b849069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/definitions/model/log.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import type Model from './Model';

/** @returns A string formatted like so "[ModelName]#[identifier]" (e.g. "User#1234") */
export function formatModelId(model: Model<any>, identifier: Identifier) {
return `${model.name}$${identifier}`;
return `${model.name}#${identifier}`;
}

0 comments on commit b849069

Please sign in to comment.