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

Format attribute in ElectionReport class is required, but enumerations only cover certain use cases #33

Open
whittsxnbq opened this issue Sep 30, 2019 · 2 comments

Comments

@whittsxnbq
Copy link

The Format attribute in the ElectionReport class is a required. this attribute uses the ReportDetailLevel enumeration. There are only two choices in that enumeration, and both apply to the level of the counts attached to the report. This does not work for pre-election reports since there may not be any counts attached. The Format either needs to be not required, or the enumeration needs to be expanded so that something appropriate can be selected when doing a pre-election report that does not include counts.

@JDziurlaj
Copy link
Collaborator

We could potentially add a no-counts value to the ReportLevelDetail enumeration. Would that handle your pre-election use-case?

@whittsxnbq
Copy link
Author

whittsxnbq commented Oct 7, 2019 via email

@JDziurlaj JDziurlaj added this to the Version 2.x milestone Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants