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

Adapt validate.py for new fields #53

Conversation

luisa-beerboom
Copy link
Member

Closes #49

Couldn't find documentation about what rules relate to the new fields, so I laboured under the assumption that everything in the models.yml was formatted correctly. I doubt that this is actually the case since I also found some type errors in it which I haven't fixed.

Based on what I saw in the models.yml I made the following assumptions about the new rules, which I am unsure about:

  • Relation fields need to have at least one of to, reference and sql
  • Other number fields may also have to or sql

I have no idea how the unique attribute that was hinted at is supposed to work as it is no where in the models.yml, so I didn't build in anything related to that for now

@r-peschke can you give some more information?

@luisa-beerboom luisa-beerboom added this to the 4.2 milestone Mar 12, 2024
@luisa-beerboom luisa-beerboom self-assigned this Mar 12, 2024
@r-peschke
Copy link
Member

Talked about it and decided to close in favor of #84

@r-peschke r-peschke closed this Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants