kinto.core why isn't ID in the Colander Schema?
Open
question
stale
- Dominant language
- Python
- Stars
- 4.4k
- Forks
- 437
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 15
Description
In our case we are using kinto.core on a resource where we want to enforce the ID.
[This](https://github.com/Kinto/kinto/blob/master/kinto/core/resource/__init__.py#L322-L323) prevent us to do that in the deserialize of the colander method.
Contributor guide
Research direction
Read kinto/core/resource/__init__.py around lines 322-323 and inspect the Colander deserialization path. Determine why the ID is excluded from schema validation and whether that prevents resources from enforcing it; done means the intended validation behavior is defined and verified with an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100