framework icon indicating copy to clipboard operation
framework copied to clipboard

[JSON:API] add tests for type, included merge and id in attributes

Open donnysim opened this issue 1 month ago • 1 comments

Added failing test to assert that:

  1. Model type is picked from morph map
  2. "included" resources do not contain primary key in attributes
  3. "included" matching resource attributes are merged

I'm unsure how the intended way will be to test the data so picked what I found around other tests.

donnysim avatar Oct 30 '25 12:10 donnysim