Skip to content

[Bug]: Unable to use .env file as expected #3436

@RubenCerna2079

Description

@RubenCerna2079

What happened?

The DAB documentation states that we should put the .env file next to the config file, however, the .env file is not used unless it is in the same directory as where we run the command dab start.

Unsure if it is an issue related to the feature or to documentation.

https://learn.microsoft.com/en-us/azure/data-api-builder/concept/config/env-function#:~:text=Keep%20.env%20adjacent%20to%20dab%2Dconfig.json%20(or%20wherever%20your%20startup%20process%20expects%20it).

Version

2.0.0-rc

What database are you using?

Azure SQL

What hosting model are you using?

Local (including CLI)

Which API approach are you accessing DAB through?

No response

Relevant log output


Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageissues to be triaged

    Type

    Projects

    Status

    Todo

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions