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

Automatically prefix Lightning component bindings with c: if no namespace provided #24

Open
douglascayers opened this issue Aug 29, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@douglascayers
Copy link
Contributor

douglascayers commented Aug 29, 2018

Human errors and typos are inevitable. I often forget to prefix my Lightning component names with c: prefix.

This request is for the binding resolver to automatically prefix with c: if no namespace is provided in the CMDT or programmatic binding.

No namespace means that the binding name does not include a colon :.

For a given Lightning component whose developer name is c:MyComponent then both these binding name variants should work:

  • c:MyComponent
  • MyComponent

For Lightning components that belong to a specific namespace (not c), then the full namespace and colon are required.

@douglascayers douglascayers added the enhancement New feature or request label Aug 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant