apollographql / apollo-ios

📱  A strongly-typed, caching GraphQL client for iOS, written in Swift.
https://www.apollographql.com/docs/ios/
MIT License
3.89k stars 728 forks source link

fragmentDefinition remains when operationDocumentFormat does not include .definition #3282

Closed jimisaacs closed 10 months ago

jimisaacs commented 1 year ago

Summary

The fragmentDefinition remains in all generated fragments when operationDocumentFormat does not include .definition

Version

1.7.0

Steps to reproduce the behavior

codegen something with a fragment, but without .definition.

Logs

No response

Anything else?

No response