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

fix: allow camel-cased json components to be used in payloads #7392

Closed

Conversation

suneettipirneni
Copy link
Member

@suneettipirneni suneettipirneni commented Feb 2, 2022

Please describe the changes this PR makes and why it should be merged:

This fixes a regression where sending in camelCased json objects in message payloads wouldn't work.

Closes #7376

Depends on:

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

@suneettipirneni suneettipirneni changed the title fix: allow camel-cased json components to be used fix: allow camel-cased json components to be used in payloads Feb 2, 2022
@KhafraDev
Copy link
Contributor

I don't understand why this can't be left to the user to handle?

@suneettipirneni suneettipirneni deleted the feat/decamelizer branch February 2, 2022 23:13
@suneettipirneni suneettipirneni restored the feat/decamelizer branch February 2, 2022 23:25
@suneettipirneni suneettipirneni deleted the feat/decamelizer branch July 6, 2022 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[discord.js@dev] Using JSON structures do not accept camelCase.
4 participants