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

Templates can be applied at various nodes in the schema #9

Open
jsterne opened this issue Nov 14, 2024 · 0 comments
Open

Templates can be applied at various nodes in the schema #9

jsterne opened this issue Nov 14, 2024 · 0 comments

Comments

@jsterne
Copy link

jsterne commented Nov 14, 2024

Requirements:

This requirement allows a template to be applied at any node in the schema. Although we should also allow for an implementation to have limitations/restrictions about which nodes can have an 'apply-template' (e.g. some implementations may only allow them on list nodes for example and maybe we shouldn't preclude that).

A corollary is that any node in the instance data has the possibility of having multiple template apply to that node (e.g. different templates could have been applied at multiple ancestor nodes). This works in combination with issue #1 (and would need precedence rules that take this requirement into account along with issue #1).

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