Skip to content

Swift Concurrency Support #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

NeedleInAJayStack
Copy link
Member

This adds support for Swift concurrency by adding new top-level async public APIs. This includes async versions of API.execute and API.subscribe, as well as supporting async Field and SubscriptionField resolver functions.

It also adds subscription tests, which were enabled by adding the Swift concurrency-based EventStream in GraphQLSwift/GraphQL#100

These test async execute, resolve, subscription resolve, and subscription functionality.
@NeedleInAJayStack NeedleInAJayStack force-pushed the feature/SwiftConcurrency branch from 10895fa to 8e69a74 Compare July 16, 2022 05:50
Copy link
Member

@paulofaria paulofaria left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful!

@paulofaria paulofaria merged commit 4a4ea22 into GraphQLSwift:master Jul 17, 2022
@paulofaria
Copy link
Member

Feel free to create a new release! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants