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
Currently we could customize a DataLoader's DataLoaderOptions using com.netflix.graphql.dgs.DgsDataLoader annotation property like caching, batching and maxBatchSize. But we can't do more, for example, customizing cacheKeyFunction, cacheMap and so on. So I have added an extension interface and some code in com.netflix.graphql.dgs.internal.DgsDataLoaderProvider to implement this in my fork's commit: add DgsDataLoaderOptionsCustomizer
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Currently we could customize a DataLoader's DataLoaderOptions using com.netflix.graphql.dgs.DgsDataLoader annotation property like caching, batching and maxBatchSize. But we can't do more, for example, customizing cacheKeyFunction, cacheMap and so on. So I have added an extension interface and some code in com.netflix.graphql.dgs.internal.DgsDataLoaderProvider to implement this in my fork's commit: add DgsDataLoaderOptionsCustomizer
Beta Was this translation helpful? Give feedback.
All reactions