webmasterapp / graphql-frontend-api
Usage of GraphQL on the Nette backend
Package info
gitlab.com/master-webteam/graphql-frontend-api
pkg:composer/webmasterapp/graphql-frontend-api
Requires
- php: >= 8.5
- composer-runtime-api: ^2
- ext-curl: *
- ext-json: *
- ext-openssl: *
- contributte/translation: ^2.0.8
- guzzlehttp/guzzle: ^8.1.0
- nette/application: ^3.3.0
- nette/caching: ^3.4.2
- nette/di: ^3.2.7
- nette/http: ^3.4.1
- nette/security: ^3.2.6
- nette/utils: ^4.1.5
- sentry/sdk: ^4.0.0
- tracy/tracy: ^2.12.1
Requires (Dev)
- phpstan/extension-installer: ^1.4.3
- phpstan/phpstan-nette: ^2.0.12
- roave/security-advisories: dev-latest
- symplify/easy-coding-standard: ^13.2.19
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 15.6.0
- 15.5.0
- 15.4.3
- 15.4.2
- 15.4.1
- 15.4.0
- 15.3.0
- 15.2.1
- 15.2.0
- 15.1.0
- 15.0.1
- 15.0.0
- 14.4.5
- 14.4.4
- 14.4.3
- 14.4.2
- 14.4.1
- 14.4.0
- 14.3.0
- 14.2.0
- 14.1.2
- 14.1.1
- 14.1.0
- 14.0.3
- 14.0.2
- 14.0.1
- 14.0.0
- 13.8.1
- 13.8.0
- 13.7.0
- 13.6.1
- 13.6.0
- 13.5.1
- 13.5.0
- 13.4.0
- 13.3.2
- 13.3.1
- 13.3.0
- 13.2.0
- 13.1.0
- 13.0.10
- 13.0.9
- 13.0.8
- 13.0.7
- 13.0.6
- 13.0.5
- 13.0.4
- 13.0.3
- 13.0.2
- 13.0.1
- 13.0.0
- 12.2.0
- 12.1.2
- 12.1.1
- 12.1.0
- 12.0.0
- 11.2.15
- 11.2.14
- 11.2.13
- 11.2.12
- 11.2.11
- 11.2.10
- 11.2.9
- 11.2.8
- 11.2.7
- 11.2.6
- 11.2.5
- 11.2.4
- 11.2.3
- 11.2.2
- 11.2.1
- 11.2.0
- 11.1.4
- 11.1.3
- 11.1.2
- 11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10.0
- 5.9.8
- 5.9.7
- 5.9.6
- 5.9.5
- 5.9.4
- 5.9.3
- 5.9.2
- 5.9.1
- 5.9.0
- 5.8.1
- 5.8.0
- 5.7.1
- 5.7.0
- 5.6.0
- 5.5.2
- 5.5.1
- 5.5.0
- 5.4.2
- 5.4.1
- 5.4.0
- 5.3.1
- 5.3.0
- 5.2.2
- 5.2.1
- 5.2.0
- 5.1.0
- 5.0.0
- 4.0.1
- 3.0.1
- 3.0.0
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.2
- 2.1.1
- 2.1.0
- 1.14.5
- 1.14.4
- 1.14.3
- 1.14.2
- 1.14.1
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.6
- 1.9.5
- 1.9.4
- 1.9.3
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.1
- 1.8.0
- 1.7.1
- 1.7.0
- 1.6.6
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.2
- 1.0.1
- 1.0.0
- dev-develop
- dev-Enums
This package is auto-updated.
Last update: 2026-11-17 12:00:05 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.
Use GraphQLTestCommunicator in model tests to run generated repositories with
mock data. Each fixture supplies the fields under data for one request. The
communicator passes a synthetic response to the normal parser without sending
HTTP requests. Calling mockResponses() replaces the queue and clears the query history.
$communicator = new \GraphQLFrontApi\Testing\GraphQLTestCommunicator();
$communicator->mockResponses(['serviceCloudMDCOfferList' => []]);
// Pass $communicator to the generated repository and run the code under test.
$queries = $communicator->queries();