Search by

webmasterapp / graphql-frontend-api

webmasterapp

Usage of GraphQL on the Nette backend

Package info

gitlab.com/master-webteam/graphql-frontend-api

Issues

pkg:composer/webmasterapp/graphql-frontend-api

Statistics

Installs: 6 957

Dependents: 0

Suggesters: 0

Stars: 0

15.5.0 2026-11-09 15:39 UTC

This package is auto-updated.

Last update: 2026-11-09 14:40:33 UTC


README

graphqlfrontapi

Cache-only reads use the normal generated repository methods with SendGraphQLRequestParameters::$cacheOnly = true. They return the same typed result on a cache hit and throw GraphQLCacheMissException on a miss, expired entry, disabled cache, or forced fresh update. No API request is sent in this mode. The flag enables cache reading without requiring enableCacheRead; configured cache disabling still applies unless forceCacheEnable is explicitly set. Callers can catch the exception and defer the normal lookup to an asynchronous request.