Skip to content

Static methods on resources don't have any validation on the resource name #182

@alexcrichton

Description

@alexcrichton

Currently I think this is a valid component:

(component
  (import "[static]a.b" (func)))

since there's no validation about [static]... annotated-functions other than "it's a function". There could be no resources named a, though, in the component or there could be multiple (e.g. named through different paths through instances).

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