SilverStripe\GraphQL\Resolvers\VersionFilters::applyToReadingState
Use this as a fallback where resolver results aren't queried as a DataList, but rather use DataObject::get_one(). Example: SiteTree::get_by_link().
Note that the 'status' and 'version' modes are not supported. Wrap this call in in order to avoid side effects.
Signature
public function applyToReadingState(array
$versioningArgsĀ )
Parameters
$versioningArgs
ā array
Returns
- null|void