Skip to content

Load values from files relative to the floki config file, not from the current working directory.#303

Merged
maxdymond merged 1 commit intomainfrom
md/relativeloading
Jul 12, 2023
Merged

Load values from files relative to the floki config file, not from the current working directory.#303
maxdymond merged 1 commit intomainfrom
md/relativeloading

Conversation

@maxdymond
Copy link
Copy Markdown
Member

Why this change?

Not everyone has floki.yaml in the root directory, nor runs floki.yaml from the root directory. This ensures that file resolution for the new yaml, toml and json function are deterministic - the path that is being loaded can always be determined.

Relevant testing

Local testing.

Checks

These aren't hard requirements, just guidelines

  • New/modified Rust code formatted with cargo fmt
  • Documentation and README.md updated for this change, if necessary
  • CHANGELOG.md updated for this change

…e current working directory.

Signed-off-by: Max Dymond <max.dymond@microsoft.com>
@maxdymond maxdymond merged commit 45e9cd9 into main Jul 12, 2023
@maxdymond maxdymond deleted the md/relativeloading branch April 11, 2024 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant