The api I'm hitting doesnt use the key 'id' for the primary key so this line causes the request to fail since there is no id. Changing it to 'uid' for instance worked but it should respect the primaryKey attribute on a serializer and if not present fall back to id.
|
currentField.selectionSet.push(new Type.Field('id')); |