assemblee-virtuelle / assemblee-virtuelle/semapps
Add `enforceType` to LDP container options
Open
ldp
- Dominant language
- TypeScript
- Stars
- 103
- Forks
- 14
- Avg merge
- 1m
- Merged PRs (30d)
- 2
Description
## Problem
Currently, we can add any kind of resource to a container. The `acceptedTypes` option is not enforcing.
## Solution
In many cases, having a `enforceType` boolean option would be useful.
## Alternative
Use ShEx shapes
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the LDP container option handling and the existing acceptedTypes behavior. Determine how a boolean enforceType option should affect resource creation, then verify that resources with disallowed types are rejected while accepted types continue to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100