Skip to content

Discussion: Relative Namespaces? #301

@Rican7

Description

@Rican7

Referring to the problems found and "fixed" in #296, we should discuss whether allowing a relative namespace check in the relationship parser (or anywhere else) is a good idea.

Pros:

  • Less code verbosity
  • Less code repetition
    • most namespaced models will have related models in the same namespace

Cons:

  • Doesn't follow PHP Conventions
    • There are currently no ways to declare relative namespaces anywhere in the SPL (Standard PHP Library)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions