Tobias Tengler

Results 94 comments of Tobias Tengler

When you debug your application you should be seeing a more concrete exception than the `Unexpected Execution Error` presented to clients. Would be helpful, if you could include said exception.

We can't order them the way you wrote them, since the underlying reflection API does not guarantee an order: https://docs.microsoft.com/en-us/dotnet/api/system.type.getmethods?view=net-6.0 We can order alphabetically, via `ModifyOptions(options => { options.SortFieldsByName =...

Resolved all of the test failures that were caused by this change. So this should be good to go! :)

@michaelstaib @PascalSenn how do you feel about this? I just used a Type Module, since it's something I know and it didn't require adding anything, but I feel like maybe...

@rstaib Is it intentional that the .yarn directory with its cache was checked in?

I'm really interested in adding HTTP caching capabilities, so I would like to give this a jab in the future. I really like the Apollo approach in this regard and...

This is unrelated to your actual issue and you have probably just typed it out wrong for the example, but calling `ToList()` will materialize the query result in the resolver...

I think this is happening, since the service scope is disposed after the resolver itself finishes executing: https://github.com/ChilliCream/hotchocolate/blob/80350d82253419a9ff631bbbaae0f640eb834753/src/HotChocolate/Core/src/Types/Types/Extensions/ObjectFieldDescriptorExtensions.cs#L136-L158 Seems like a similar problem to https://github.com/ChilliCream/hotchocolate/issues/4638 for me. If you do...

I just looked at your code again and saw that you don't have the UseProjection attribute there atm, so I can't tell how you've used it. Did you put the...

Yeah, but Optional is only meant for arguments to be able to differentiate between it being null or a default value. As far as I'm aware the are no default...