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

Programmatic sanity checking #3

Closed
Trott opened this issue Nov 28, 2013 · 2 comments
Closed

Programmatic sanity checking #3

Trott opened this issue Nov 28, 2013 · 2 comments
Milestone

Comments

@Trott
Copy link
Owner

Trott commented Nov 28, 2013

Perhaps via grunt task? Basically enforce rules that a relational database might enforce such as:

  • every entry must have certain required properties
  • If this artist is tied to that album, then that album better think it's tied to this artist
@Trott
Copy link
Owner Author

Trott commented Dec 5, 2013

Maybe we can store the data normalized/relationally and then programmatically (and grunt-task-ize it) create the denormalized version. Storing the data normalized would guarantee that relations that need to be reciprocal are in fact reciprocal. And in the course of denormalizing, the program could check that all required properties are there.

@Trott
Copy link
Owner Author

Trott commented Dec 14, 2013

We should also check to make sure that both elements specified in a relation table actually exist.

@Trott Trott closed this as completed Jun 15, 2014
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