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

Enforce reference scoping rules within lineages #126

Open
2 tasks
sdboyer opened this issue Apr 12, 2023 · 0 comments
Open
2 tasks

Enforce reference scoping rules within lineages #126

sdboyer opened this issue Apr 12, 2023 · 0 comments
Labels
invariants Involves the definition or enforcement of a key system invariant

Comments

@sdboyer
Copy link
Contributor

sdboyer commented Apr 12, 2023

There are a number of lineage validity rules we want to introduce about what references are allowed to be made within different parts of lineage definitions. An example we've known for a while is that we may want to disallow references to any types defined outside of the schema from within a schema, as it introduces the possibility of subtly breaking thema's guarantees when the referenced type gets changed.

This issue is intended as a running list of such rules. Membership on the list does not mean the rule is finally decided - more of a proposal.

  • #Lens children MUST NOT contain references to anything outside the scope of the lens itself
  • #Lens.result children MUST NOT contain references to the lacunas section in that lens. (#Lens.lacunas children MAY contain references to the result section.)
@sdboyer sdboyer added the invariants Involves the definition or enforcement of a key system invariant label Apr 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invariants Involves the definition or enforcement of a key system invariant
Projects
None yet
Development

No branches or pull requests

1 participant