Railway generating invalid toml value
djnxe
TRIALOP
a year ago
In the configuration-as-code output (with the JSON/TOML toggle), the multiRegionConfig value seems to contain json object syntax rather than toml (i.e. colons instead of equal signs):
multiRegionConfig = {"us-east4-eqdc4a":{"numReplicas":1}}I haven't attempted using it, so maybe Railway can ingest this just fine, but it was flagged by my linter tool, so wanted to let you know.
(LOVING Railway btw)
3 Replies
brody
EMPLOYEE
a year ago
Hello,
The multiRegionConfig is internally also represented as JSON so it should work, but please let us know if it doesn't.
Best,
Brody
djnxe
TRIALOP
a year ago
I tested with both and it looks like the toml version does fail to build. Build log error:
Failed to parse TOML file railway.toml: (9, 22): unexpected token type in inline table: keys cannot contain : characterThis doesn't impact me, I'm fine using the json version! Just a bug report

