silverstripe-cms/_graphql/config.yml
Aaron Carlino f3a76ccf2d
NEW: getByLink plugin allows arrays of links (#2666)
* NEW: getByLink plugin allows arrays of links

* Allow configurable resolver

* Remove unused exception tag

* Refactor to preserve API backward compat

* Unit test

* Add plugin to readOne

* Fix test

* add new test
2021-09-07 09:34:52 +12:00

14 lines
249 B
YAML

resolvers:
- 'SilverStripe\CMS\GraphQL\Resolver'
modelConfig:
DataObject:
operations:
read:
plugins:
getByLink:
after: filter
readOne:
plugins:
getByLink:
after: filter