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

Getting 'BinaryExpression not expected here' when bound expression is {{pageSubRoute.add-edit-jobs}} #2597

Open
mercmobily opened this issue May 7, 2018 · 1 comment

Comments

@mercmobily
Copy link

I have this in my-app.html:

        <my-add-edit-jobs state="{{state}}" route="{{pageSubRoute.add-edit-jobs}}" name="add-edit-jobs"></my-add-edit-jobs>

But polymer lint tells me:

src/my-app.html(226,57) warning [invalid-polymer-expression] - Only simple syntax is supported in Polymer databinding expressions. BinaryExpression not expected here.

Because of naming conventions, I can't rename add-edit-jobs without giving me a headache.
BTW, I need this for this hack around app-route.

Note that {{pageSubRoute.add-edit-jobs}} is a valid expression for Polymer in data binding (that is, the add-edit-jobs key in this.pageSubRoute.

@aomarks aomarks transferred this issue from Polymer/polymer-cli Jan 3, 2019
@stale
Copy link

stale bot commented Mar 3, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants