You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Howto define costs for Article and ListEntry types using the costMap? (can't use the SDL way as I'm going code first, not SDL first).
Until now I only understood how to define costs for top-level queries in general without taking the accessed fields into regard (that's what the example in the readme does).
Hello everyone,
given a sample schema like:
Howto define costs for Article and ListEntry types using the costMap? (can't use the SDL way as I'm going code first, not SDL first).
Until now I only understood how to define costs for top-level queries in general without taking the accessed fields into regard (that's what the example in the readme does).
But what I wish to define is:
so that the query
will fail when
maximumCost
is set to 15, but will be fine when set to 20.Any way to solve that with graphql-cost-analysis using costMap?
Regards,
Michael
The text was updated successfully, but these errors were encountered: