-
Notifications
You must be signed in to change notification settings - Fork 1
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
[CPDNPQ-2346] Cohort + schedule management #2068
base: main
Are you sure you want to change the base?
Conversation
Review app deployed to https://npq-registration-review-2068-web.test.teacherservices.cloud/ |
21f1d96
to
967cf38
Compare
Thanks @alkesh – I was trying to make it obvious how the instance variables were set, but evidently just made it more confusing 😉 moved into a |
Quality Gate passedIssues Measures |
def self.allowed_declaration_types | ||
connection.execute("SELECT unnest(enum_range(NULL::declaration_types))").values.flatten | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems a bit unusual or I'm not following? Whats the advantage of normalizing the list in a separate method, why not normalize it here? Though I'm also not understanding why postgres would return a blank enum type?
Context
Ticket: https://dfedigital.atlassian.net/browse/CPDNPQ-2346