dgs-framework
dgs-framework copied to clipboard
bug: Property spring.graphql.path has been moved
Expected behavior
Since spring-boot 3.5.0 the property spring.graphql.path was moved to spring.graphql.http.path. As DGS sets the former one, it should be migrated as well. (Release notes, Configuration Changelog)
Actual behavior
spring-boot-properties-migrator complains that the property should be moved:
The use of configuration keys that have been renamed was found in the environment:
Property source 'dgs-spring-graphql-defaults':
Key: spring.graphql.path
Replacement: spring.graphql.http.path
Each configuration key has been temporarily mapped to its replacement for your convenience. To silence this warning, please update your configuration to use the new keys.
Steps to reproduce
Use DGS in a spring-boot service and add the spring-boot-properties-migrator dependency.