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

rejects parentheses around expressions #63

Closed
Gsiete opened this issue Apr 30, 2021 · 1 comment · Fixed by #66
Closed

rejects parentheses around expressions #63

Gsiete opened this issue Apr 30, 2021 · 1 comment · Fixed by #66
Assignees
Labels
bug Something isn't working

Comments

@Gsiete
Copy link

Gsiete commented Apr 30, 2021

In this code:

    function fieldUnchanged(field) {
      return field in request.resource.data && field in resource.data && resource.data[field] == request.resource.data[field]
        || !(field in request.resource.data) && !(field in resource.data);
    }

it rejects the parentheses around the in expression in this: !(field in request.resource.data)

@dalgarins dalgarins self-assigned this Apr 30, 2021
@dalgarins dalgarins added the bug Something isn't working label Apr 30, 2021
@dalgarins
Copy link
Contributor

Captura de Pantalla 2021-05-01 a la(s) 10 41 37 p  m

thanks for testing, issue will be fixed on version: 2.5.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants