Skip to content

resolveConfig cache ignores options on subsequent calls #13

@oritwoen

Description

@oritwoen

resolveConfig() caches the first result and returns it for all subsequent calls, even when different options (cwd, envName, overrides, etc.) are passed. This means only the first call's options take effect.

Found during review of #12.

Options:

  • Skip cache when any option is explicitly passed
  • Invalidate cache when options differ from the cached call
  • Document that resolveConfig is single-shot by design

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions