Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Latest commit

 

History

History
16 lines (11 loc) · 531 Bytes

UPGRADE.md

File metadata and controls

16 lines (11 loc) · 531 Bytes

Upgrade guide

This document provides guidance for upgrading between major versions.

v1 to v2

Compare your graphql-playground.php against the latest default configuration. The configuration options for the route changed.

If you were calling the GraphQLPlaygroundController directly, change the reference to use __invoke():

-'uses' => \MLL\GraphQLPlayground\GraphQLPlaygroundController::class . '@get',
+'uses' => \MLL\GraphQLPlayground\GraphQLPlaygroundController::class,