Skip to content

Add region option to airline module #3784

Open

Description

@Javid-Izadfar

Clear and concise description of the problem

As a developer using Faker, I want to differentiate between local and foreign airlines and airports so that my booking app UI feels more realistic and context-aware for domestic and/or international flights.

Suggested solution

In module airline we could provide following implementation:

airport({ region: 'local' })
airport({ region: 'foreign' })

and

airline({ region: 'local' })
airline({ region: 'foreign' })

Alternative

No response

Additional context

No response

Activity

  1. github-actions commented on Apr 1, 2026

    @github-actions
    Contributor

    Thank you for your feature proposal.

    We marked it as "waiting for user interest" for now to gather some feedback from our community:

    • If you would like to see this feature be implemented, please react to the description with an up-vote (:+1:).
    • If you have a suggestion or want to point out some special cases that need to be considered, please leave a comment, so we are aware about them.

    We would also like to hear about other community members' use cases for the feature to give us a better understanding of their potential implicit or explicit requirements.

    We will start the implementation based on:

    • the number of votes ( 👍 ) and comments
    • the relevance for the ecosystem
    • availability of alternatives and workarounds
    • and the complexity of the requested feature

    We do this because:

    • There are plenty of languages/countries out there and we would like to ensure that every method can cover all or almost all of them.
    • Every feature we add to faker has "costs" associated to it:
      • initial costs: design, implementation, reviews, documentation
      • running costs: awareness of the feature itself, more complex module structure, increased bundle size, more work during refactors

    View more issues which are waiting for user interest

  2. added
    m: airlineSomething is referring to the airline module
    and removed on Apr 1, 2026
  3. added this to the vFuture milestone on Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: featureRequest for new featurem: airlineSomething is referring to the airline modules: waiting for user interestWaiting for more users interested in this feature

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions