Closed antonkomarev closed 5 years ago
Project.find('1').then(project => { console.log(project.attributes()); // { id: '1', name: 'test' } });
Why id key is a part of the attributes?
id
This library was not designed with only JSON:API in mind, JSON:API is only the starting point and many other standards may consider ID to be an attribute
Why
id
key is a part of the attributes?