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

[JS] Support nullish coalescing assignment operator (??=) #353

Open
saltman424 opened this issue Feb 23, 2024 · 0 comments
Open

[JS] Support nullish coalescing assignment operator (??=) #353

saltman424 opened this issue Feb 23, 2024 · 0 comments
Labels
feature-request New feature or request

Comments

@saltman424
Copy link

According to https://docs.aws.amazon.com/appsync/latest/devguide/supported-features.html, these operators are supported:

  • standard math operators (+, -, /, %, *, etc.)
  • nullish coalescing operator (??)

As it turns out, the assignment version of these operators are only supported for the standard math operators. I.e.

  • Supported: +=, -=, /=, %=, *=, etc.
  • Not Supported: ??=

??= is very useful, so it would be great if we could support that as well

@saltman424 saltman424 changed the title Support nullish coalescing assignment operator (??=) in AppSync JS [JS] Support nullish coalescing assignment operator (??=) Feb 23, 2024
@onlybakam onlybakam added the feature-request New feature or request label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants