HotChocolate: An Introduction to GraphQL for ASP.NET Core by Michael Staib

  Рет қаралды 16,601

JetBrains

JetBrains

Күн бұрын

Пікірлер: 7
@hansbauml7692
@hansbauml7692 4 жыл бұрын
Hi, About the subscription Topic at the end: The solution is having the Subscription return Type "IAsyncEnumerable". It seems, that the interface is checked directly. If you return the IEventStream hc sais it cannot cast the type (As seen in the exception), even though it implements IAsyncEnumerable. Here a snippet from my subscription: [SubscribeAndResolve] public async ValueTask UserUpdated([Service] ITopicEventReceiver receiver) { return await receiver.SubscribeAsync(Channels.UserUpdated); } Another cause of error will be that the ITopicEventReceiver has to be injected as service, otherwise hc interpret it as parameter (or you use SubscriptionType and do it manually). Cheers!
@yt.arunthakur
@yt.arunthakur 3 жыл бұрын
Alright! That was really hot. 🙏 Will embark on it soon.
@yousefhassan847
@yousefhassan847 4 жыл бұрын
I did the exact same thing, but I don't have the possibiltiy to add middlewares to my queries. Has it changed?
@sc12sc
@sc12sc 4 жыл бұрын
Very helpful, Thanks !
@vicenzomartinelli4521
@vicenzomartinelli4521 3 жыл бұрын
This is very hot stuff!
@nowzarifarhad
@nowzarifarhad 3 жыл бұрын
How does this work with microservices?
@andreaskarz
@andreaskarz 2 жыл бұрын
At 46:15 - Don't you have to follow any order here like: 1. UseSelection 2. UseFiltering 3. UseSorting 4. UsePaging
GraphQL in .NET Core - Poornima Nayar. Dot Net North - April 2021
55:41
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 16 МЛН
Хасанның өзі эфирге шықты! “Қылмыстық топқа қатысым жоқ” дейді. Талғарда не болды? Халық сене ме?
09:25
Демократиялы Қазақстан / Демократический Казахстан
Рет қаралды 357 М.
Wait for the last one 🤣🤣 #shorts #minecraft
00:28
Cosmo Guy
Рет қаралды 17 МЛН
Introduction To GraphQL
16:35
dotnet
Рет қаралды 43 М.
Clean Architecture with ASP.NET Core 8 | .NET Conf 2023
29:17
Better Object Mapping in .NET with Dapper by Kevin Griffin
53:53
.Net 5 with GraphQL - Step by Step
1:32:42
Mohamad Lawand
Рет қаралды 12 М.
Unveiling Game Development in Rust With Bevy
1:07:30
JetBrains
Рет қаралды 2,6 М.
GraphQL vs REST: Which is Better for APIs?
7:31
IBM Technology
Рет қаралды 207 М.
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 94 М.
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 16 МЛН