Skip to content

Unique indexes unification #6

@einorler

Description

@einorler

I have a suggestion on making a single unique index on a pair of routePattern and prefix fields of the Route model. This way it would be possible to implement same urls with same route patterns, it would be especially useful when handling different locale prefixes.

For example /en/foo/bar and /fr/foo/bar where the routePattern is /foo/bar and /en and /fr are prefixes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions