Inconsistencies in property handling compared with ARM
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 523
- Forks
- 75
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 24
Description
Summary of the new feature / enhancement
DSC and ARM are handling properties in an inconsistent way. DSC assumes that all properties consumed or generated from a resource are under the "properties" property. Only these properties are passed to the resource on set/test and any property generated by the resource are placed inside this property.
In ARM, there are properties that are expected/allowed outside of the "properties". For example, all resources are expected to a "name" property outside of "properties" and this property is part of the unique ID of a resource. It is NOT just a human readable description of the step in the template.
Other properties that are allowed outside of the "properties" property are "kind", "sku", "plan", "systemData", "managedBy" and "tags" (and possibly others that I am forgetting). These properties are considered as part of the payload of a resource and are expected to be passed to the resource on set/test and returned by the resource on get.
Proposed technical implementation details (optional)
No response
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
Start by examining how DSC currently handles resource properties and compare that behavior with the ARM conventions described in the issue. Define the scope for properties outside "properties", including name, kind, sku, plan, systemData, managedBy, and tags; the work is done when set, test, and get consistently handle the agreed resource payload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100