File tree Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Expand file tree Collapse file tree 3 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " graphql-dev" ,
3- "version" : " 0.2.1 " ,
3+ "version" : " 0.2.2 " ,
44 "description" : " make developers effort less" ,
55 "main" : " src/index.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change 22export const resolvers = {
33 Query : {
44 getBooks : async ( _ , { } , { dataSources } ) => {
5- return await dataSources . asoiafApi . getBooks ( ) ;
5+ return await dataSources . AsoiafDataSource . getBooks ( ) ;
66 } ,
77
88 getCharacters : async ( _ , { } , { dataSources } ) => {
9- return await dataSources . asoiafApi . getCharacters ( ) ;
9+ return await dataSources . AsoiafDataSource . getCharacters ( ) ;
1010 } ,
1111 } ,
1212} ;
Original file line number Diff line number Diff line change @@ -7,12 +7,13 @@ export const typeDefs = gql`
77 }
88 type Book {
99 name: String,
10- publiser : String,
11- releases : String
10+ publisher : String,
11+ released : String
1212 }
1313 type Character {
1414 name: String,
1515 culture: String,
16- born: String
16+ born: String,
17+ url
1718 }
1819` ;
You can’t perform that action at this time.
0 commit comments