Skip to content

server_migrate_1 x_to_2 x

etienne-sf edited this page Feb 11, 2023 · 22 revisions

Work in progress (2.x is about to be released)

Introduction

This page describe how to migrate a client implementation from a 1.x version to the last 2.x version.

If you're looking for a migration of the client implementation, please check the Client migration from 1.x to 2.x

The 2.x version is based on spring-graphql. Spring and spring-graphql are responsible for the whole transport part. The first versions allows to easily move from 1.x to 2.x versions.

Next versions will allow more control on the spring-graphql part, including overriding the Spring GraphQL controllers.

TODO :

  • In 1.x releases of the plugin the GraphQL endpoint's path is configured by the graphql.url entry in the Spring configuration file (application.yml or application.properties)
    • [for servers only] In the 2.x releases, this configuration is manager by spring. So the relevant configuration entry is spring.graphql.path in the Spring configuration file. Its default value is /graphql
Clone this wiki locally