Skip to content

XCode 14.3 Beta reveals hundreds of "Non-sendable" type warnings related to Apollo-generated Types #2835

@mdhornet90

Description

@mdhornet90

Summary

After upgrading to the XCode 14.3 Beta, I see this sort of warning hundreds of times during compilation:

Non-sendable type 'FooQuery.Data.Foo?' passed in implicitly asynchronous call to main actor-isolated function cannot cross actor boundary

Is there anything specific to the setup I have to change to make sure these generated types conform to Sendable or is this in active development against the XCode Beta? Let me know if you need more info

Version

1.0.7

Steps to reproduce the behavior

  1. Generate GraphQL models per documentation
  2. Attempt to reference the models in an isolated async context
  3. Observe compiler warning

Logs

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions