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

Audit all exposed APIs to determine if they should actually be private #234

Open
AntonyBlakey opened this issue Dec 14, 2022 · 0 comments
Open
Assignees

Comments

@AntonyBlakey
Copy link
Contributor

AntonyBlakey commented Dec 14, 2022

Can we generate (and check in/source version) them?

Example snapshot from Kotlin: https://github.com/ktorio/ktor/blob/58f2fa99c24a861e943bf686c6a6b31c6c9dbf7b/ktor-http/api/ktor-http.api

Questions

  • Is it possible to get rid of allow(unused_imports) in the codebase? It is a good way to make sure that any publicly exposed APIs are covered with at least one simple/basic test.
  • Should we review instances of clippy::must_use_candidate (which we currently disable globally)?
  • Can NAPI-exposed properties be turned readonly? they are mutable by default.
@AntonyBlakey AntonyBlakey added this to the 2️⃣ Beta Preview milestone Dec 14, 2022
@AntonyBlakey AntonyBlakey self-assigned this Dec 14, 2022
@AntonyBlakey AntonyBlakey moved this to ⏲ Todo in Slang - 2023 H1 Dec 14, 2022
@AntonyBlakey AntonyBlakey changed the title Audit all exposed APIs to dtermine if they should actually be private Audit all exposed APIs to determine if they should actually be private Dec 20, 2022
@OmarTawfik OmarTawfik self-assigned this Jul 10, 2023
@OmarTawfik OmarTawfik removed this from the 2️⃣ Beta Preview milestone Jul 11, 2023
@OmarTawfik OmarTawfik removed their assignment Jul 19, 2023
github-merge-queue bot pushed a commit that referenced this issue Aug 10, 2023
Not touching the grammar definition-related code since that's about to
be changed by
https://github.com/AntonyBlakey/slang/tree/AntonyBlakey/to_rust_types.

Somewhat related to #234,
I noticed that we have public extension traits that seem to only work
with the `LanguageDefinition` type. Maybe we should change these
one-function traits to free functions that accept the language
definition as the argument, instead?

Also not feeling strongly about
84912e8,
thought it's more of a nice-to-have.
@Xanewok Xanewok removed this from Slang - 2023 Q3 Nov 2, 2023
@OmarTawfik OmarTawfik moved this to Todo in Slang - 2024 H1 Feb 13, 2024
@OmarTawfik OmarTawfik assigned OmarTawfik and unassigned AntonyBlakey Apr 2, 2024
@OmarTawfik OmarTawfik removed their assignment Apr 2, 2024
@OmarTawfik OmarTawfik self-assigned this May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ⏳ Todo
Development

No branches or pull requests

2 participants