Skip to content

Why not use environment variables available through Schema's #67

@maxgaurav

Description

@maxgaurav

As mentioned in the readme about constants, we are typically hardcoding the API URL into the application.

There are many times the app needs to run with staging, development and production environment API's and each of them may have different urls. Hard coding them in constants seems to add more logic to check the current environment and then act upon it.

With multiple schemas with their own environment variables solves the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions