Commit Graph

9 Commits

Author SHA1 Message Date
Aaron Carlino 36a6fb002e NEW: Compliance with new SchemaConfig API (#2617) 2020-12-08 11:26:59 +13:00
Aaron Carlino 7b960c1537
NEW: Compliance with new SchemaConfig API (#2617) 2020-12-01 21:27:16 +13:00
Aaron Carlino 5ab1ff3e69
NEW: GraphQL Compatibility (#2607)
* Add GraphQL4 compatibility

* Add getPageByLink

* Blacklist sitetree fields

* Remove getByLink from default schema. use linkable plugin

* getByLink compatability with new readOne filter anything

* Remove return type

* Compliance with new modelConfig

* Prep for travis

* Improvements for versioned-admin compat

* BC class guards

* New graphql 3 compat

* Fix travis syntax error

* New backward graphqlphp dependency

* Lint, build

* New phpcs exclusion

* Tidy up travis

* Fix rollback mutation

* Update code/GraphQL/_legacy/ReadOneResolver.php

Co-authored-by: Ingo Schommer <ingo@silverstripe.com>

* Address ingo feedback

* Deprecated GraphQL v3 classes

* Remove deleted branches

Co-authored-by: Ingo Schommer <ingo@silverstripe.com>
Co-authored-by: Ingo Schommer <me@chillu.com>
2020-11-13 13:50:44 +13:00
Guy Marriott 309dc97a32 FIX Pages should use rollback recursive to revert to previous versions (#2329) 2018-11-23 13:07:01 +13:00
Aaron Carlino d99cd10f29 Add multi-schema support 2018-07-09 14:02:11 -05:00
Robbie Averill e3237f9638 NEW Add revert mutation and refactor injector transformations (#2158)
* NEW Add revert mutation and refactor injector transformations

Removing the existing HOC component and just using Injector transformations to apply the GraphQL query and mutation

* Refetch versions after performing the revert mutation

* WIP Provide additional context
2018-05-17 15:36:46 +12:00
Robbie Averill c4f8af543c NEW Add AbsoluteLink to history viewer page GraphQL query (#2142) 2018-04-11 15:40:12 +12:00
Robbie Averill 8daf907c4b Reduce wildcard to specific list of fields and use object spread operators in query 2018-03-22 15:46:59 +13:00
Robbie Averill 1a82f0364a NEW Add page GraphQL query HOC for history viewer component
Relies on silverstripe/versioned-admin being installed on SS 4.2 or above.
2018-03-22 10:51:53 +13:00