Support fields/widgets with concrete dynamic vocabularies
- Dominant language
- Python
- Stars
- 109
- Forks
- 107
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 4
Description
Right now fields that have vocabulary set to a vocabulary name and vocabularies which are essentially static are well supported by plone.restapi. Vocabularies where the values depend on the context or on a query (e.g. vocabularies providing z3c.formwidget.query.interfaces.IQuerySource) are not really supported. This relates to #535, and I will add a PR with basic support for vocabularies using IQuerySource shortly.
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
Review related issue #535 and the open pull request #1078 first, since the proposed basic support is already under way. Then inspect how plone.restapi handles fields with static vocabulary names and determine whether context- or query-dependent vocabularies using IQuerySource are covered; done means those dynamic vocabularies are supported without regressing static ones.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100