chris-peterson / pwsh-gitlab

:computer: PowerShell module for GitLab
MIT License
22 stars 10 forks source link

Cache Project ID lookup #63

Open chris-peterson opened 1 year ago

chris-peterson commented 1 year ago

almost every CmdLet calls Get-GitlabProject. in many cases, this is just to get a project ID. by caching a lookup, we could save a lot of API calls

gaelcolas commented 1 year ago

a Singleton within the Module scope would do nicely.