Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Doing a single config export for REST there is no dependency.
But staging this file will not enable module(s). Depending on supported_format HAL and REST and depending on supported_auth basic_auth and oauth were expected to be enabled.
rest.settings.yml is a 'simple configuration'
Proposed resolution
Make sure the correct module are enabled by adding dependencies?
Comments
Comment #1
clemens.tolboomComment #2
dawehnerDoesn't those entries point
It is kind of problematic if importing configuration changes configuration. Otherwise you should fail validation when the corresponding modules don't exist, or rather fail if these servides
don't exists? How would you ever be able to have a 100% relyable way from the service ID to the module name?
Comment #3
R.Muilwijk CreditAttribution: R.Muilwijk commentedMaybe look at how field config handles this with additional field types in modules?
Comment #4
clemens.tolboomI guess this will be solved through #2308745: Remove rest.settings.yml, use rest_resource config entities