jamesplease / jamesplease/api-pls

Support `additional_attributes`

Open
#238 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
10
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Some thoughts about `additional_attributes`: usually, users will want it to be required from the perspective of the DB. However, they might want it to bypass the request validation since the user can omit it.

One way around this would be to add another prop to override the requirement that `nullable: false` fields must appear in the request.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. Start by tracing how `additional_attributes`, `nullable: false`, and request validation are handled, then clarify whether the change should affect database requirements, request requirements, or both. Done should include a defined behavior for omitted fields and coverage for the relevant validation cases.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, postgresql
Domain
api, backend, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.