Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v1.17.92
type Option func(*complexityOptions)
func WithFixedScalarValue ¶ added in v1.17.92
WithFixedScalarValue sets the default value attributed to scalar and enum fields.
func WithIgnoreFields ¶ added in v1.17.92
WithIgnoreFields specifies which fields are ignored in the complexity calculation. It's equivalent to setting the value of these fields to zero.
Click to show internal directories.
Click to hide internal directories.