We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d956e91 commit ff05794Copy full SHA for ff05794
apollo.config.js
@@ -0,0 +1,10 @@
1
+module.exports = {
2
+ client: {
3
+ service: {
4
+ name: 'now playing app',
5
+ url: 'http://localhost:4000/graphql',
6
+ },
7
+ includes: ['./app/src/**/graphql.ts'], // array of glob patterns
8
+ excludes: ['./app/**/src/generated/**'],
9
10
+};
app/src/pages/NowPlaying.tsx
@@ -14,7 +14,6 @@ export const NowPlaying = () => {
14
return (
15
<Carousel title="Now Playing">
16
{movies.map((movie) => (
17
- // TODO: fix this type
18
<MoviePoster movie={movie} key={movie.id} />
19
))}
20
</Carousel>
app/src/pages/graphql.ts
@@ -1,6 +1,6 @@
import { gql } from '@apollo/client';
-// TODO: create fragment
+// TODO: create fragment for movie object
export const NOW_PLAYING = gql`
query nowPlaying {
0 commit comments