(relationship)
| 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 🤷 |
| 14 | if (relationship?.data?.id) { |
| 15 | relationship.data.id = relationship.data.id.toLowerCase(); |
| 16 | } |
| 17 | return super.extractRelationship(relationship); |
| 18 | } |
| 19 | |
| 20 | normalizeFindRecordResponse(store, primaryModelClass, payload, id) { |
| 21 | let normalizedDocument = super.normalizeFindRecordResponse(...arguments); |
nothing calls this directly
no outgoing calls
no test coverage detected