Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return types do not indicate nullability #616

Open
winstliu opened this issue Nov 12, 2024 · 3 comments
Open

Return types do not indicate nullability #616

winstliu opened this issue Nov 12, 2024 · 3 comments

Comments

@winstliu
Copy link
Member

Many methods can return null, but the API surface does not reflect this.

For example, GitApi.getRepositories(project) returns null if the project doesn't exist, but the return type is misleadingly listed as Promise<GitRepository[]>.

@aleksandrlevochkin
Copy link
Contributor

Hi @winstliu thank you for reporting this issue. We are currently working on higher-prioritized issues, but we'll return to this one as soon as we can

Copy link

This issue has had no activity in 90 days. Please comment if it is not actually stale

@github-actions github-actions bot added the stale label Feb 23, 2025
@winstliu
Copy link
Member Author

GitApi has not changed in 11 months.

@github-actions github-actions bot removed the stale label Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants