Issue with Parsing Mappings in Config.hashMap with Custom Delimiter

Hey, im kinda unable to figure out why config.hashMap does not parse my mappings:
const linearUserConfig = Config.hashMap(Config.string(), 'users').pipe(
//Its not caused by this - the transformer receives an empty hash map
  Config.map(hashMapToRecord)
);

const linearConfig = Config.nested(
  Config.all({
    users: linearUserConfig,
  }),
  'linear'
);

The env file looks like this:
linear.users.someuser=value

Also my program runs with the correct delimiter here:
Effect.runPromise(
  Effect.withConfigProvider(
    runnable,
    ConfigProvider.fromEnv({
      pathDelim: '.',
    })
  )
);
Was this page helpful?