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)
- How @import(module:) works? HOT 2
- Unable to generate code HOT 4
- Apollo code-gen fails to compile on Xcode 15.3 with StrictConcurrency enabled HOT 2
- ApolloPagination's loadNext throwing `loadInProgress` incorrectly HOT 16
- Parity with Apollo Kotlin: Ability to Observe ApolloStore Changes? HOT 3
- Narrowly Scoped equality on SelectionSet models HOT 1
- SQLite dependency needs to be bumped to 0.15.0 HOT 3
- Generated mocks in test target missing @testable annotation against main target HOT 6
- codegen: Append type to generated filenames HOT 5
- Add support for SPM `Package.resolved` version `3`
- Support multiple schemas / endpoint in one project HOT 7
- Parity with Kotlin SDK for cache chaining and optimistic cache updates HOT 2
- PrivacyInfo.xcprivacy file is invalid for Apollo and ApolloApi. HOT 7
- SchemaConfiguration should be scoped within the namespace enum for `embeddedInTarget` module type
- Investigation: Allow codegen projects to modify generated filenames
- Add support for incremental cache writes
- Add support for incremental cache reads
- Avoid File Overwriting for Unchanged Files HOT 1
- `InMemoryNormalizedCache` is a memory bomb HOT 5
- iOS 13.0 or newer error - compile fails HOT 1
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.