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

Shorthand for handlebars expressions #1070

Open
dakavisa opened this issue Jun 19, 2020 · 0 comments
Open

Shorthand for handlebars expressions #1070

dakavisa opened this issue Jun 19, 2020 · 0 comments

Comments

@dakavisa
Copy link
Contributor

dakavisa commented Jun 19, 2020

I think we should also think of a short hand for the handlebars stuff. categories.octopart.parameters.octopartIndexName is pretty intense. I am wondering if we couldn't attempt to resolve by just the first few characters. so the above would turn into c.o.p.octopartIndexName and in the case of conflicts (multiple things start with c) it would error, but then you could just addd more characters. So let's say you had both octopart and occupy categories. You could access those by c.oct.p.octopartIndexName or c.occ.p.occupyIndexName

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

1 participant