jdalrymple / gitbeaker

🦊🧪 A comprehensive and typed Gitlab SDK for Node.js, Browsers, Deno and CLI
Other
1.55k stars 295 forks source link

Is "forked_from_project" a supported field? #3506

Closed profblackjack closed 8 months ago

profblackjack commented 8 months ago

I have a usecase of crawling fork relationships to build out lists, and ideally I'd like to be able to crawl both up and down relationships.

Gitlab's rest documentation states that project schemas will contain parent fork info if one exists (under forked_from_project), but I don't see the particular field anywhere in gitbeaker

Link to the relevant section of the Projects api

profblackjack commented 8 months ago

After doing some experimenting, I've determined that the field is present in the responses, but not made explicit in the ProjectSchema type. I'll open an enhancement requesting typing updates!