Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add features to feature/apollo-pure #1714

Merged

Commits on Sep 22, 2018

  1. Upgrade all dependencies

    1. ncu --upgradeAll
    4. Leave "graphql" to be "^13.2.0" that apollo packages depend on
    2. Apply patch of "npx babel-upgrade" output
    3. Leave only necessary babel plugins
    4. Pass "yarn fix" by disabling stricter rules
    piglovesyou committed Sep 22, 2018
    Configuration menu
    Copy the full SHA
    2485a2d View commit details
    Browse the repository at this point in the history
  2. Pass "req" through GraphQL resolver context

    * Through rootValue it cannot be passed from browser GraphQL access
    * rm unnecessary code
    piglovesyou committed Sep 22, 2018
    Configuration menu
    Copy the full SHA
    d07020a View commit details
    Browse the repository at this point in the history
  3. Add "Timestamp" scalar type for convinience

    * rm unnecessary files
    piglovesyou committed Sep 22, 2018
    Configuration menu
    Copy the full SHA
    787bbed View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2018

  1. fix: Timestamp didn't work

    * npm graphql requires to be update
    vercel/next.js#5238 (comment)
    piglovesyou committed Nov 6, 2018
    Configuration menu
    Copy the full SHA
    94aa6fd View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2019

  1. Feature: Codegen from GraphQL schema and use more Flow types (#2)

    * install apllo
    
    * add apollo.config.js
    
    * apollo codegen succeeded
    
    * fix: updateNetworkStatus signature
    
    * rm @flow from files not ready
    
    * add flow-typed files
    
    * done: Using auto-generated types works
    
    * flow-bin@0.89+ has regression. Use ^0.88.0.
    
    * fix: invalid GraphQL primitive types
    
    * Add codegen script
    
    * done: import auto-generated file
    
    * refac: move impl for apollo-link-state to graphql dir as same as server side resolvers
    
    * codegen and ignore eslint these files
    
    * refactor: "networkStatus"
    
    * feat: codegen:standalone
    piglovesyou committed Feb 11, 2019
    Configuration menu
    Copy the full SHA
    b19f83a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b152bfe View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2019

  1. Improve codegen (#3)

    * delete existing auto-generated types
    
    * change script name
    
    * ignore __generated__ folder
    
    * wip: disallow absolute path resolving under `src` dir
    
    * It causes disregard .js type checking under src
    
    * fix all flow error
    
    * modify: prevent `withStyles` drops component type
    piglovesyou committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    bf6f3d9 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2019

  1. Modify targe Node versions

    * Fix build failure: Codegen before lint
    
    * Add Node v10 LTS for build target
    piglovesyou committed Feb 18, 2019
    Configuration menu
    Copy the full SHA
    4b8b115 View commit details
    Browse the repository at this point in the history