Open kevinfoerster opened 6 years ago
When referencing an item from a different collection, i get this error:
error UNHANDLED REJECTION TypeError: Cannot read property 'internal' of null - infer-graphql-input-fields.js:222 [gatsby]/dist/schema/infer-graphql-input-fields.js:222:38
i have a products collection and a contacts collection and each product has multiple contacts associated, the api call directly lists at least the id and title (as shown in cockpit)
{ entries: [ { title: "product", _mby: "5a79af33952bedoc680234702", _by: "5a79af33952bedoc680234702", _modified: 1529919171, _created: 1529671390, _id: "5b2ceedeae80fdoc1943926982", slug: "product", contacts: [ { _id: "5b2cef7aa48bbdoc2013865485", link: "contacts", display: "max mustermann" } ] } ] }
and the matching contacts entry
{ entries: [ { name: "max mustermann", email: "max@mustermann.com", phone: "", _mby: "5a79af33952bedoc680234702", _by: "5a79af33952bedoc680234702", _modified: 1529918980, _created: 1529671546, _id: "5b2cef7aa48bbdoc2013865485", picture: { path: "storage/uploads/2018/06/22/5b2cf00f5f72ame.jpg" } } ], }
Thanks for your detailed input. Collection Link was added to Cockpit after my latest update to the plugin.
I have been working on some improvements, I will make sure these work.
When referencing an item from a different collection, i get this error:
i have a products collection and a contacts collection and each product has multiple contacts associated, the api call directly lists at least the id and title (as shown in cockpit)
and the matching contacts entry