Comments (6)
Oh, did you mean update to TS 1.8 new language features?
from apollo-client.
closing because it looks like we are already using everything useful
from apollo-client.
Arenโt we using typescript 1.8.9 already? https://github.com/apollostack/apollo-client/blob/048ac76b7c9f7399db3e788cb8ceca6091d01e91/package.json#L47
from apollo-client.
@mquandalle yep! Wherever they can be applied!
from apollo-client.
Maybe one occurrence of that is in the GraphQL .d.ts
interface definition, I think the following interfaces could be modified as follows:
interface IntValue {
- kind: string;
+ kind: "IntValue";
loc?: Location;
value: string;
}
interface FloatValue {
- kind: string;
+ kind: "FloatValue";
loc?: Location;
value: string;
}
from apollo-client.
ooh, that's neat. we should send a PR or something? or do these definitions want to be compatible with multiple versions of the language?
from apollo-client.
Related Issues (20)
- Sub-nested fields or subfields on Apollo Client Type Policies HOT 2
- [3.9.0] inFlightLinkObservables_1.remove is not a function (it is undefined) in react-native HOT 14
- Resolving error details via link is currently leaking data to apollo HOT 4
- Cannot clear the cache HOT 7
- TypeError [ERR_INVALID_ARG_TYPE]: The "filename" argument must be of type string or an instance of URL. Received an instance of URL HOT 17
- Apollo Client 3.9 causes linting error to be thrown when using `refetch` HOT 8
- Apollo Client throwing a `TypeError: options.headers.hasOwnProperty is not a function` HOT 11
- Proposal for an Option to Enable Infinite Reuse of Mocks HOT 5
- useLazyQuery default options permanently overridden by execute options HOT 7
- Apollo Client has null values filtered in queries since v3.9.0 when using a type policy HOT 8
- Tests fails on Windows HOT 10
- `ERR_UNSUPPORTED_DIR_IMPORT` when importing `@apollo/client/core` HOT 5
- Allow async onCompleted & onError callbacks HOT 11
- improperly escaped error arguments for go.apollo.dev links HOT 4
- Java ApolloClient SocketTimeoutException, how to fix HOT 2
- Tracking issue: `gql.tada` HOT 1
- @defer not working in React Native HOT 19
- Apollo client initiated requests since apollo client v3.9.2 in Nextjs sometimes render as undefined data HOT 8
- useFragment fails to get data from cache for an Interface, even when possibleTypes is setup correctly HOT 5
- Better types MockedResponse.newData HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo-client.