Skip to content

Update auth to allow eventloopfuture resolution, explicit eventloop initialization#5

Merged
NeedleInAJayStack merged 1 commit into
GraphQLSwift:mainfrom
GNMoseke:feature/eventloop-auth
Nov 5, 2022
Merged

Update auth to allow eventloopfuture resolution, explicit eventloop initialization#5
NeedleInAJayStack merged 1 commit into
GraphQLSwift:mainfrom
GNMoseke:feature/eventloop-auth

Conversation

@GNMoseke

@GNMoseke GNMoseke commented Nov 4, 2022

Copy link
Copy Markdown
Contributor

Quick change to allow auth callbacks to resolve wither by throwing or failing a future. As a consequence we now also explicitly pass an eventloop to the server, which is a common pattern for NIO apps.

@GNMoseke

GNMoseke commented Nov 4, 2022

Copy link
Copy Markdown
Contributor Author

cc @NeedleInAJayStack

@NeedleInAJayStack NeedleInAJayStack self-requested a review November 4, 2022 16:28

@NeedleInAJayStack NeedleInAJayStack left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great @GNMoseke! Thanks!

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