Hotchocolate: Refactor the resolver to use ValueTask instead of Task.

Created on 23 Nov 2019  路  1Comment  路  Source: ChilliCream/hotchocolate

Many of the resolvers are actually resolving there data synchronously, so, we should enable the middleware and resolver to use ValueTask over Task.

馃尪 hot chocolate 馃帹 refactoring 馃攳 investigate

Most helpful comment

If anyone reads this issue and wonders what value tasks are, there's a great resource for this:
https://devblogs.microsoft.com/dotnet/understanding-the-whys-whats-and-whens-of-valuetask/

>All comments

If anyone reads this issue and wonders what value tasks are, there's a great resource for this:
https://devblogs.microsoft.com/dotnet/understanding-the-whys-whats-and-whens-of-valuetask/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lTimeless picture lTimeless  路  5Comments

sascha-andres picture sascha-andres  路  4Comments

hognevevle picture hognevevle  路  3Comments

louisjrdev picture louisjrdev  路  3Comments

marcin-janiak picture marcin-janiak  路  4Comments