Skip to content

Commit f2baba0

Browse files
authored
fix example
1 parent 561b1d7 commit f2baba0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,18 @@ Be careful when using `byte[]` in your variables object, as most JSON serializer
5454
var graphQLClient = new GraphQLHttpClient("https://swapi.apis.guru/", new NewtonsoftJsonSerializer());
5555

5656
public class PersonAndFilmsResponse {
57-
public PersonContent Person { get; set; }
57+
public Person Person { get; set; }
58+
}
5859

59-
public class PersonContent {
60-
public string Name { get; set; }
61-
public FilmConnectionContent FilmConnection { get; set; }
60+
public class Person {
61+
public string Name { get; set; }
62+
public FilmConnectionContent FilmConnection { get; set; }
6263

63-
public class FilmConnectionContent {
64-
public List<FilmContent> Films { get; set; }
64+
public class FilmConnectionContent {
65+
public List<FilmContent> Films { get; set; }
6566

66-
public class FilmContent {
67-
public string Title { get; set; }
68-
}
67+
public class FilmContent {
68+
public string Title { get; set; }
6969
}
7070
}
7171
}

0 commit comments

Comments
 (0)