Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v0.17.85
type Option func(*complexityOptions)
func WithFixedScalarValue ¶ added in v0.17.85
WithFixedScalarValue sets the default value attributed to scalar and enum fields.
func WithIgnoreFields ¶ added in v0.17.85
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.