johnpapa / ngrx-data-lab

Sample app that can be expanded to use ngrx-data
216 stars 59 forks source link

Example Apollo/GraphQL ? #30

Open benjamingb opened 5 years ago

benjamingb commented 5 years ago

I think ngrx-data is ready to interact with an API-REST, but if I want to use GraphQL, will they have an example? Thanks

CodewindOnGithub commented 4 years ago

an example would be great. But basically you can just implement DefaultDataService interface in a custom service which uses apollo. Didn't try myself but that would be the proper way I guess.

Ref: https://ngrx.io/guide/data/entity-dataservice