• Phil Pluckthun's avatar
    (graphcache) - Improve internal typings for lists, scalars, and overall cleanliness (#1591) · f130ef7a
    Phil Pluckthun authored
    * Refactor Graphcache types
    
    * Adjust type naming
    
    * Fix up inaccurate types in Graphcache
    
    - All lists (NullArray) may be nested, which affects links
    - The same goes for any DataField values
    - The __typename field isn't never defined on scalars
    - All ScalarObject fields are unknown
    
    Some of these features weren't used because they weren't
    readily available yet in all common versions of TS back
    when we wrote these types.
    
    * Add Changeset
    
    * Prevent increasing call count by n for link lists
    
    * Fix readRootField and DataField types
    f130ef7a