Skip to content

Pointwelve/Revealed-iOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Revealed

GitHub

GitHub commit activity

GitHub release (latest by date)

Bitrise

GraphQL Update Schema

  1. Install Apollo CLI npm install -g apollo
  2. You can supply your server access token GRAPHQL_TOKEN and graphql end point GRAPHQL_ENDPOINT in environment variable.
  3. Or you can supply as options in fastlane. See download_schema lane in Fastfile
  4. run bundle exec fastlane ios download_schema.

GraphQL Generate API ONLY

  1. Install Apollo CLI npm install -g apollo
  2. run bundle exec fastlane ios generate_graphql.

GraphQL query structure

  • All .graphql files should in Revealed/GraphQL.
  • Each graphql file should represent a single use case. E.G GetAllPosts or CreatePost
  • All shared fragments can declared in Fragments.graphql