User Tools

Site Tools


custom-ember-data-the-easy-way

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
custom-ember-data-the-easy-way [2022/08/23 02:23]
sausage created
custom-ember-data-the-easy-way [2022/10/26 04:52] (current)
sausage Minor fix for find record serializer
Line 534: Line 534:
         const alteredPayload = {         const alteredPayload = {
             game: {             game: {
-                ​id: payload.gameId,​+                ​gameId: payload.gameId, ​// <- Set prop to gameId again. primaryKey will sort this out for us!
                 title: payload.title,​                 title: payload.title,​
                 year: payload.year                 year: payload.year
Line 571: Line 571:
  
 ===== Thanks ===== ===== Thanks =====
-TODO+Thank you to Latha.K & Andrew.W for proofing and tips, and Julien.P for wallowing with me with every possible permutation of Promises.
  
 ===== Further reading, tips, thoughts ===== ===== Further reading, tips, thoughts =====
custom-ember-data-the-easy-way.1661221420.txt.gz ยท Last modified: 2022/08/23 02:23 by sausage