MCPcopy Create free account
hub / github.com/ember-learn/ember-api-docs / extractId

Method extractId

app/serializers/application.js:8–10  ·  view source on GitHub ↗
(_, hash)

Source from the content-addressed store, hash-verified

6 metaStore;
7
8 extractId(_, hash) {
9 return hash.id.toLowerCase();
10 }
11
12 extractRelationship(relationship) {
13 // for some reason we only need to update the id to lowercase when it's an object relationship and not an array 🤷

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected