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

toIndividualDetails - Number of reasons #350

Open
michaelwood opened this issue Jan 24, 2023 · 0 comments
Open

toIndividualDetails - Number of reasons #350

michaelwood opened this issue Jan 24, 2023 · 0 comments

Comments

@michaelwood
Copy link
Member

In the toIndividualDetails object it's allowed that a secondaryGrantReason can be specified without a primaryGrantReason. This requires a special case in the code when we're processing the data as we can't rely on the fact that if there is no secondaryGrantReason if primaryGrantReason is unspecified.

A possible improvement to this would be an array of grantToIndividualsReasons which has an allowed number of entries from 0-2 (or inf if so desired).

@michaelwood michaelwood changed the title toIndividualDetails toIndividualDetails - Number of reasons Jan 24, 2023
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