-
Notifications
You must be signed in to change notification settings - Fork 0
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
Build more LPA Schema #56
Conversation
- Add basic donor and attorney details to the LPA schema - Add an example LPA - Update tests to use new LPAs - Update handlers to handle and validate new LPA structure For VEGA-2134 #major
Also update dependency files #patch
1512935
to
cb376c5
Compare
AWS can only operate a single file, and this gives us an opportunity to co-locate the schemas rather than using `$defs`. #patch
cb376c5
to
b4ba3ac
Compare
I somehow removed this in a previous commit #patch
lambda/shared/person.go
Outdated
|
||
type Donor struct { | ||
Person | ||
OtherNames string `json:"otherNames" dynamodbav:""` |
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.
Just curious why we have an other names field? I thought the decision was to just stick with firstnames & last name?
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.
I believe this is for "other names known by", like if you're called Elizabeth but everyone calls you Betty. Edit: yep, confirmed that with MRLPA
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.
Worth making the field more precisely named, to avoid that confusion next time?
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.
@mattmachell @GemTay Good point! I've changed it to otherNamesKnownBy
, is that more helpful?
For VEGA-2134 #major