This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Shema | |
| type Query { | |
| getItemById(id: ID!): Item | |
| } | |
| # Query made by client | |
| query myQuery { | |
| getItemById(id: "*") { | |
| id | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| new ApolloServer({ | |
| typeDefs, | |
| resolvers, | |
| formatError: error => new Error('Internal server error') | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| type Mutation { | |
| login(email String!, password: String!): String | |
| updateProfile: Profile @withEmailVerified | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import { GestureHandler } from 'expo'; | |
| import { View } from 'react-native'; | |
| import Animated from 'react-native-reanimated'; | |
| const { PanGestureHandler, State } = GestureHandler; | |
| const { | |
| event, | |
| set, |
OlderNewer