Skip to content

Commit daca0e6

Browse files
borodayevnodkz
authored andcommitted
docs: rename PersonTC to StarshipTC
1 parent e6c198d commit daca0e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ Moreover, `graphql-compose` allows you to pass pre-defined resolvers of other ty
130130
const restApiResponse = {
131131
name: 'Anakin Skywalker',
132132
starships: () =>
133-
PeopleTC.getResolver('findByUrlList') // get some standard resolver
133+
StarshipTC.getResolver('findByUrlList') // get some standard resolver
134134
.wrapResolve(next => rp => { // wrap with additional logic
135135
const starshipsUrls = rp.source.starships;
136136
rp.args.urls = starshipsUrls; // populate `urls` arg from source

0 commit comments

Comments
 (0)