You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our resolver has one extra method: `resolveReference`. It's called by the Apollo Gateway whenever a related resource requires a User instance. We'll see an example of this in the Posts service later on. Please note the `@ResolveReference` decorator.
101
+
Our resolver has one extra method: `resolveReference`. It's called by the Apollo Gateway whenever a related resource requires a `User` instance. We'll see an example of this in the Posts service later on. Please note the `@ResolveReference` decorator.
Our Post microservice serves aggregated posts via a `getPosts` query, but also extends our User type with `user.posts`
144
+
Our Post service serves aggregated posts via a `getPosts` query, but also extends our `User` type with `user.posts`
145
145
146
146
##### Schema first
147
147
@@ -208,7 +208,7 @@ export class AppModule {}
208
208
209
209
##### Code first
210
210
211
-
We will need to create a class representing our User entity. Even though it lives in another microservice, we will be using and extending it. Note the `@extends` and `@external` directives
211
+
We will need to create a class representing our `User` entity. Even though it lives in another service, we will be using and extending it. Note the `@extends` and `@external` directives.
0 commit comments