mac2000 commented :
Wondering if there is any chance to see apollo federation support in future? e.g. ability to add new services backed by dgraph into existing ecosystem with other services and beeing able to extend existing entities and so on.
From implementation perspective there is really few things need to be made:
- Add
Query._service.sdl- which will return current schema as a string with user defined directives (@key, @extends, etc) - Add
Query._entity- aka generic resolver which will take an array of resolve references ({__typename, id}) as input and resolve desired entitites