Implemented Union Types in GraphQL (#3852)

* Fetch correct amount of data

* Allow system required data to be returned in items service

* Fetch non-requested required data, find type through context

Fixes #3718
This commit is contained in:
Rijk van Zanten
2021-01-29 16:23:33 -05:00
committed by GitHub
parent 6cce246b92
commit 5a019b4284
4 changed files with 76 additions and 37 deletions

View File

@@ -13,6 +13,7 @@ router.use(
accountability: req.accountability,
schema: req.schema,
});
const schema = await service.getSchema();
/**