elierotenberg / elierotenberg/directus-typescript-gen

Every field is optional in generated types

Open
#4 9 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
111
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Every field is optional in generated types regardless of settings in Directus.

Any idea why?

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by reproducing generation with the relevant Directus settings, then trace where generated type fields are marked optional and compare the output with those settings. Done means generated types preserve the configured required or optional status.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.