-
Notifications
You must be signed in to change notification settings - Fork 214
Open
Labels
backendRequires a change to the API serverRequires a change to the API server
Description
At various points, database IDs are manually generated:
- https://github.com/getodk/central-backend/blob/85e25af7e7775bf4626867bd96ccff7694856c92/lib/model/query/datasets.js#L26
- https://github.com/getodk/central-backend/blob/85e25af7e7775bf4626867bd96ccff7694856c92/lib/model/query/datasets.js#L50
- https://github.com/getodk/central-backend/blob/85e25af7e7775bf4626867bd96ccff7694856c92/lib/model/query/entities.js#L75
- https://github.com/getodk/central-backend/blob/85e25af7e7775bf4626867bd96ccff7694856c92/lib/model/query/entities.js#L101
- https://github.com/getodk/central-backend/blob/85e25af7e7775bf4626867bd96ccff7694856c92/lib/model/query/forms.js#L114
- https://github.com/getodk/central-backend/blob/85e25af7e7775bf4626867bd96ccff7694856c92/lib/model/query/submissions.js#L30
- https://github.com/getodk/central-backend/blob/85e25af7e7775bf4626867bd96ccff7694856c92/lib/model/query/submissions.js#L39
Sometimes this is for the convenience of using the generated value at various points in the subsequent query, in which case the query can be inverted to create dependees before dependents.
In other cases, the reason for manual ID assignment is unclear, and can be removed.
Metadata
Metadata
Assignees
Labels
backendRequires a change to the API serverRequires a change to the API server
Type
Projects
Status
🕒 backlog