Download the PHP package infinityloop-dev/graphpinator-query-cost without Composer
On this page you can find all versions of the php package infinityloop-dev/graphpinator-query-cost. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download infinityloop-dev/graphpinator-query-cost
More information about infinityloop-dev/graphpinator-query-cost
Files in infinityloop-dev/graphpinator-query-cost
Download infinityloop-dev/graphpinator-query-cost
More information about infinityloop-dev/graphpinator-query-cost
Files in infinityloop-dev/graphpinator-query-cost
Vendor infinityloop-dev
Package graphpinator-query-cost
Short Description Modules to limit maximum query cost by resticting maximum depth or number of nodes.
License MIT
Homepage https://github.com/graphpql/
Package graphpinator-query-cost
Short Description Modules to limit maximum query cost by resticting maximum depth or number of nodes.
License MIT
Homepage https://github.com/graphpql/
Please rate this library. Is it a good library?
Informations about the package graphpinator-query-cost
GraPHPinator Query cost
:zap::globe_with_meridians::zap: Modules to limit query cost by restricting maximum depth or number of nodes.
Introduction
Installation
Install package using composer
How to use
This package includes two modules. They can be used together or each on their own.
MaxDepthModule
validates maximum depth of a query.MaxNodesModule
validates that size of a query does not exceed maximum number of nodes.- One node is essentially a single value which is to be resolved.
- This module automatically recognises "multiplier" arguments, such as
limit
, which multiply inner number of nodes for that field.- Default multiplier arguments are
['limit', 'first', 'last']
, but can be changed using second constructor argument. - If you wish to disable this feature, set the constructor argument to empty array.
- Default multiplier arguments are
-
Register selected modules to GraPHPinator:
- You are all set, queries are validated for maximum depth/maximum number of nodes.
All versions of graphpinator-query-cost with dependencies
PHP Build Version
Package Version
Requires
infinityloop-dev/graphpinator Version
^1.6
The package infinityloop-dev/graphpinator-query-cost contains the following files
Loading the files please wait ....