rokucommunity / rokucommunity/brighterscript
Unable To create custom type for Components with `.` in their name
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 208
- Forks
- 68
- Avg merge
- 8h 39m
- Merged PRs (30d)
- 39
Description
<component name="Task.Api" extends="task">
<interface>
<field id="url" type="string" />
</interface>
</component>
This component has the name Task.Api, but we cannot reference a type with the name roSGNodeTask.Api because it looks like a namespace.
Perhaps this is just a lint rule?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how component names and custom types are parsed and validated, using the Task.Api example as the reproduction. Determine whether dotted component names should be supported or rejected as a lint rule, then verify the chosen behavior with a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100