microsoft / microsoft/powerplatform-vscode
Getting an error while using MultiSelectOptionSet
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 277
- Forks
- 60
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 14
Description
Current versions:
pcf-scripts: 1.32.5
pcf-start: 1.32.5
I'm currently building a PCF control that uses a MultiSelectOptionSet property.
So, I have added a new property in ControlManifest.Input.xml as shown below:
With this, if I run the following command: pcf-scripts refreshTypes, I'm getting the below error, and the ManifestTypes.d.ts files does not contain the updated input/output properties:
So upon further investigating, I'm thinking that this code here in manifestTypesGenerator.js could be the crux of this problem.
Not exactly sure why this condition is different from the ones above it. So any help with this is greatly appreciated, and I'm also happy to provide any further context if needed.
Thanks
Contributor guide
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
Reproduce the issue with a ControlManifest.Input.xml property using MultiSelectOptionSet and the listed pcf-scripts versions. Start by reading manifestTypesGenerator.js and the refreshTypes entry point, then compare the generated ManifestTypes.d.ts with the manifest's input and output properties. Done means refreshTypes completes without the reported error and generates the updated properties.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100