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

Can we treat selectors and placeholders similar somehow, or must they be distinct? #107

Closed
echeran opened this issue Aug 8, 2020 · 2 comments
Labels
data model Issues related with MF data Model resolve-candidate This issue appears to have been answered or resolved, and may be closed soon.

Comments

@echeran
Copy link
Collaborator

echeran commented Aug 8, 2020

For a multi-select message, we have the selection phase to choose one pattern among the group. The formatting phase is interpolating the selected pattern values to provide the resulting formatted string. Let's define the arguments used (in conjunction with selection functions) for selection purposes as selectors. And the elements within the pattern used to demarcate where interpolation occurs as placeholders.

Can we treat selectors and placeholders as the same? Or are there similarities in functionality or representation that we can make? Or are they completely distinct?

One proposal in favor of aligning the representation and functionality of selectors and placeholders somewhat closely is alluded to in this presentation (IIUC).

The case for treating them as completely different concepts is explained via the conversation here, in which arguments in favor of treating selectors and placeholders as nearly interchangeable in nature are rebutted with counter-examples from the opposite viewpoint.

@mihnita mihnita added the data model Issues related with MF data Model label Sep 24, 2020
@eemeli eemeli added the resolve-candidate This issue appears to have been answered or resolved, and may be closed soon. label Jul 3, 2023
@eemeli
Copy link
Collaborator

eemeli commented Jul 3, 2023

As we've settled on selectors and placeholders both being defined as expressions, this should be resolved.

@aphillips
Copy link
Member

Closing per previous discussion. Re-open or create a new issue if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data model Issues related with MF data Model resolve-candidate This issue appears to have been answered or resolved, and may be closed soon.
Projects
None yet
Development

No branches or pull requests

4 participants