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

[1/n] Remove array_get #1374

Merged

Conversation

jchaffraix
Copy link
Collaborator

@jchaffraix jchaffraix commented Nov 20, 2024

The function cannot be properly typed as it
is and fixing this would take a while, removing
it is shorter and better.

This PR only covers SETUP/* and api/*.
It also deprecates array_get so users know that
they should migrate.

TESTS=None.

Sandbox: https://www.pgdp.org/~cpeel/c.branch/julien_remove_array_get_1/

The function cannot be properly typed as it
is and fixing this would take a while, removing
it is shorter and better.

This PR only covers SETUP/* and api/*.
It also deprecates array_get so users know that
they should migrate.

TESTS=None.
@jchaffraix jchaffraix force-pushed the julien_remove_array_get_1 branch from 88c0c06 to 128301b Compare November 20, 2024 01:23
@cpeel cpeel requested review from cpeel, 70ray and srjfoo November 20, 2024 17:15
Copy link
Member

@cpeel cpeel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested out the API changes and spot-checked the SETUP changes.

Copy link
Member

@srjfoo srjfoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't done any testing on these, because the testing isn't as straighforward, but all the code changes look good to me.

@cpeel cpeel merged commit 0ba5dc0 into DistributedProofreaders:master Nov 29, 2024
12 checks passed
@jchaffraix jchaffraix deleted the julien_remove_array_get_1 branch November 30, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants