Comments (1)
I just merged a fix for this to apollo-codegen
, so updating to 0.9.3 should solve your issue.
It is not a complete solution yet because it only works when fields have skip or include directives specified, not if you make an entire fragment conditional.
That means this still doesn't work:
query UserQuery($includePhotos: Boolean = true) {
user {
...ProfileFragment @include(if: $includePhotos)
}
}
from apollo-ios.
Related Issues (20)
- `.editorconfig` HOT 2
- How to Implement GraphQLQueryPager in Apollo iOS for Pagination? HOT 2
- docs: Update Pagination docs to callout separate package
- Uploading files with apollo HOT 4
- Crash Thread 1: Fatal error: No data found for task 1, cannot append received data HOT 6
- Use ApolloClient with swift-corelibs-foundation 5.10.1 HOT 5
- RFC: 2.0 API Changes - Swift Concurrency HOT 17
- Add support for local cache mutations HOT 2
- Pagination: Errors on initial page not reported HOT 5
- CacheKeyInfo with a numeric jsonValue of `1` returns nil HOT 4
- Type 'Operation' has no member 'deferredSelectionSetType' in IncrementalGraphQLResponse HOT 2
- Feature Request: Async RequestBodyCreator for Async Auth Payload Retrieval HOT 3
- 1.14.0 using introspection creates duplicate defer directive HOT 22
- Pagination: support cache policy for initial fetch HOT 1
- codegen: Add an option to capitalize acronyms when the first character is capitalized HOT 4
- Error handling for CacheWriteInterceptor added in 1.14.0 causing issues HOT 2
- Swift Package Manager Apollo Web Socket Not Working HOT 2
- Cache migrations HOT 2
- Generated code cannot compile when using include directive on field that is selected on interface and implementation HOT 3
- apollo-ios-xcframework doesn't add bundle identifier to the Info.plist for the created xcframework 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-ios.