elierotenberg / elierotenberg/directus-typescript-gen

query filter schema on related fields is incorrect

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

Description

thanks for making this package, it makes our lives a lot easier! however:

while this code works, the types seem to be a bit off. Or am i using it wrong?

Screenshot 2024-09-27 at 12 19 30

Screenshot 2024-09-27 at 12 18 44

Contributor guide

No contributing guide indexed for this repository

Research direction

The report provides screenshots but names no files, tests, or entry points. Reproduce the related-field query filter typing issue in directus-typescript-gen, locate the generation path responsible, and add a regression test showing the expected schema types. Done means related-field filters receive correct TypeScript types.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.