chore: sort config dump alphabetically

The config dump in Config.hs listed db-config, db-pre-config and the
db-pool-* settings out of alphabetical order, while the rest of the dump
was sorted. Now the whole dump is consistently alphabetical and update
the expected IO test configs to match.
This commit is contained in:
net
2026-06-02 07:32:11 +00:00
committed by Wolfgang Walther
parent ed4b68c364
commit 097a1de67d
15 changed files with 120 additions and 120 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ dumpOpenApiMode = \case
-- | Dump the config
toText :: AppConfig -> Text
toText conf =
unlines $ (\(k, v) -> k <> " = " <> v) <$> pgrstSettings ++ appSettings
unlines $ sort $ (\(k, v) -> k <> " = " <> v) <$> pgrstSettings ++ appSettings
where
-- apply conf to all pgrst settings
pgrstSettings = (\(k, v) -> (k, v conf)) <$>