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

Re-introduce runtime aliases #353

Merged
merged 3 commits into from
Jul 10, 2024
Merged

Re-introduce runtime aliases #353

merged 3 commits into from
Jul 10, 2024

Conversation

Pimm
Copy link
Collaborator

@Pimm Pimm commented Jul 9, 2024

We removed snake_case aliases for client properties and aliases for endpoints. This PR re-introduces them, this time unenumerable and non-existent in the TypeScript types.

This will not do much for TypeScript users, they will still get a compile-time error. This merely affects JavaScript users who are still using deprecated aliases. See #319 for more discussion on this.

Pimm added 3 commits July 9, 2024 15:37
We removed snake_case aliases for client properties here: #314. This commit re-introduces the aliases, this time unenumerable and non-existent in the TypeScript types.
We removed aliases for endpoints here: #315. This commit re-introduces the aliases, this time unenumerable and non-existent in the TypeScript types.
Copy link
Collaborator

@dsempel dsempel left a comment

Choose a reason for hiding this comment

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

LGTM

@Pimm Pimm merged commit d748888 into master Jul 10, 2024
5 checks passed
@Pimm Pimm deleted the pimm/alias branch July 10, 2024 08:12
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.

2 participants