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

Separate Template from Schema types in hierarchical templates #105

Open
redransil opened this issue Jun 12, 2023 · 2 comments
Open

Separate Template from Schema types in hierarchical templates #105

redransil opened this issue Jun 12, 2023 · 2 comments

Comments

@redransil
Copy link
Contributor

Right now, there are field types template, schema, template-list, and schema-list which all require CIDs of schemas.

Change template and template-list so that they require CIDs of templates, not of schemas. This should be the equivalent of simply referencing the schema for the given template and substituting that.

@adgsm
Copy link
Contributor

adgsm commented Jun 15, 2023

What's the gain of putting Schema Type CID (metadata) instead of Schema itself into a value of schema filed?

@redransil
Copy link
Contributor Author

In our data model, "schema" and "template" are reserved words
If a field is called "schema", people expect it to correspond to a schema. If a field is called "template", users expect it to correspond to a template.

Right now, "template" takes as input a "schema"

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

2 participants