adobe / adobe/aio-cli-plugin-app-dev
Namespace-prefixed sequences aren't supported
- 主要语言
- JavaScript
- 星标
- 2
- 派生
- 5
- PR 合并指标
- 30 天内没有已合并 PR
描述
When users define sequences that include the namespace, e.g.
```yaml
sequences:
my-sequence:
actions: >-
namespace/auth,
namespace/real-action
```
They get an error:
```shell
› Sequence component 'namespace/real-action' does not exist (sequence =
› 'my-sequence')
```
This is because in the plugin, we track the action in the sequence as `namespace/auth` for example
But the list of actions we get from the config library tracks actions only in name, e.g. `auth`
Namespace-prefixed actions in a sequence are a valid Runtime use case that we should look into supporting
贡献指南
调研方向
首先跟踪 plugin 如何解析序列操作,并将其与 config library 返回的操作名称进行比较。复现 issue 中带 namespace 前缀的序列,然后验证 `namespace/auth` 和 `namespace/real-action` 能够成功解析,同时不带前缀的序列仍可正常工作。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100