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

Consider making order meaningful in "oneOf" combo scheme #193

Open
mmccool opened this issue Nov 9, 2020 · 1 comment
Open

Consider making order meaningful in "oneOf" combo scheme #193

mmccool opened this issue Nov 9, 2020 · 1 comment

Comments

@mmccool
Copy link
Contributor

mmccool commented Nov 9, 2020

The "oneOf" combo scheme lists sub-schemes in an array. This issue proposes that we make the order meaningful by adding an assertion to the TD spec that consumers SHOULD implement schemes earlier in the list if possible.

@mmccool
Copy link
Contributor Author

mmccool commented Nov 9, 2020

During the TPAC meeting @relu91 mentioned "formIndex" and maybe we should add "securityIndex". The "formIndex" is used in scripting to access/select the order of forms. However, if the runtime of the consumer implementation "automatically" does security, it might be better to just have that implementation always try to access security in order, starting with the first. There may be no reason to expose this at the scripting API level.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant