PolicyEngine / PolicyEngine/policyengine-app-v2
Align user-association payload adapters with API contracts
Open
@SakshiKekre is already working on this.
Since Sep 15, 2025.
- Dominant language
- HTML
- Stars
- 1
- Forks
- 3
- Avg merge
- 1d 50m
- Merged PRs (30d)
- 39
Description
Base policy, household, simulation, and report creation payloads now match the API's current creation schemas. The remaining work concerns user-association payloads and endpoints.
- Replace
anyin household and geographic association adapters with explicit request and response types. - Resolve inconsistent camel-case and snake-case conversion across association adapters.
- Confirm that each
user-*-associationendpoint used by the app exists in the intended API version and matches the corresponding database schema. - Confirm that database-owned fields, including
created_atandupdated_at, are not generated or sent by the client unless an endpoint explicitly requires them. This absorbs #199. - Add cross-repository contract tests or generated types so future API changes fail deterministically.
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.
Assessment
This issue has not been assessed yet.