Skip to content

$resources cache conflict when same nested resource is repeated #446

@seancorfield

Description

@seancorfield

Discovered by Greg Thrush:

    variables.framework.routes = [
      { "$RESOURCES" = { resources = "users", nested = "logs" }},
      { "$RESOURCES" = { resources = "sites", nested = "logs" }},
    ];

The problem is the cache key in getResourceRoutes() -- it doesn't take anything but resourcesToRoute into account.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions