Michael Staib

Results 571 comments of Michael Staib

@tobias-tengler this is a duplicate of the cache control issue or? can you link it and close this one?

I mean cache control is only about the headers but since we are talking about output caching here we could apply the same rules and cache the response.

Yeah but not convinced of output cacheing here... its more batching/dataloader semantics... In general the issue is not precise enough. Its juts throwing an api after something :) I am...

@avisra if you want to contribute on this we would appreciate this... get something started and we can fill in the blanks that you have.

Yes, already looked into this with @PascalSenn and @rstaib. We want to use this with HotChocolate but also with StrawberryShake. I think updating the language server should be easy. Actually,...

I think I have now added this to a lot of places. I will do another round and then we can close this one.

Actually this is already solved in 12 and more elegantly in 13

Yes ... this is for version 12 ```csharp [UsePaging] [UseFiltering(typeof(AssetFilterInputType))] [UseSorting(typeof(AssetSortInputType))] public IQueryable GetAssets(AssetContext context, IResolverContext resolverContext) => resolverContext.ArgumentLiteral("order").Kind is SyntaxKind.NullValue ? context.Assets.OrderBy(t => t.Price!.TradableMarketCapRank) : context.Assets; ```