GabeStah / api.pingpublications.com

0 stars 0 forks source link

Simplify Lib Use (only Apollo?) #2

Open GabeStah opened 5 years ago

GabeStah commented 5 years ago

Standalone Apollo Client/Link

GabeStah commented 5 years ago

Determine how to handle Input GraphQL schema types for performing mutations without direct object references. Maybe reference child objects within mutation logic? Resolver: https://github.com/academind/yt-graphql-react-event-booking-api/blob/23-bugfixing/graphql/resolvers/events.js#L17 Schema: https://github.com/academind/yt-graphql-react-event-booking-api/blob/23-bugfixing/graphql/schema/index.js#L12-L39

TODO: Use .populate() https://mongoosejs.com/docs/populate.html