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(amplify-velocity-template): expression not equals works improperly #5571

Conversation

chucre
Copy link
Contributor

@chucre chucre commented Oct 13, 2020

When used with amplify-appsync-simulator the not equals (!=) expression doesn't work properly. Two
strings are considered inequal when should be considered equals.

fix #5570

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

When used with amplify-appsync-simulator the not equals (!=) expression doesn't work properly. Two
strings are considered inequal when should be considered equals.

fix aws-amplify#5570
@codecov
Copy link

codecov bot commented Oct 13, 2020

Codecov Report

Merging #5571 into master will increase coverage by 0.17%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5571      +/-   ##
==========================================
+ Coverage   59.08%   59.26%   +0.17%     
==========================================
  Files         402      402              
  Lines       18043    18043              
  Branches     3575     3575              
==========================================
+ Hits        10661    10693      +32     
+ Misses       6723     6689      -34     
- Partials      659      661       +2     
Impacted Files Coverage Δ
...appsync-simulator/src/velocity/value-mapper/map.ts 86.20% <0.00%> (+5.17%) ⬆️
...es/amplify-appsync-simulator/src/velocity/index.ts 63.63% <0.00%> (+34.54%) ⬆️
...sync-simulator/src/velocity/value-mapper/mapper.ts 93.75% <0.00%> (+62.50%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 763f4af...4cf4b04. Read the comment docs.

@yuth yuth merged commit 7bc5051 into aws-amplify:master Oct 14, 2020
r0zar pushed a commit to r0zar/amplify-cli that referenced this pull request Nov 19, 2020
aws-amplify#5571)

When used with amplify-appsync-simulator the not equals (!=) expression doesn't work properly. Two
strings are considered inequal when should be considered equals.

fix aws-amplify#5570

Co-authored-by: Fernando Chucre <fernando@oraoncology.com>
@github-actions
Copy link

This pull request has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(amplify-velocity-template) not equals '!=' doesn't work with JavaString
2 participants