-
Notifications
You must be signed in to change notification settings - Fork 12
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
refactor: 2060 design change post thridpartyrequests transactions #65
refactor: 2060 design change post thridpartyrequests transactions #65
Conversation
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.
lgtm
@@ -0,0 +1,16 @@ | |||
title: Party |
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.
Hmm I wonder if we are pigeon holing ourselves here with an entirely new definition of Party
for the sake of a couple API calls. Can't we just extend the PartyIdType
enum to include THIRD_PARTY_LINK
in the 3p API so that everything is compatible?
I think we should just be copying the party definition in here from the FSPIOP-API, and extending PartyIdType
.
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.
@lewisdaly THIRD_PARTY_LINK
is already in enum for PartyIdType
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 introduced the whole chain for PartyTPLink
to reach the input-validation feature that for POST /thridpartyReqeusts/transactions
- elsewhere we need to implement this in code for every service in a chain: api-adapter/scheme-adapter
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.
what do you prefer -> swagger validation or in code validation?
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.
Went away and thought about this... and I think I see your point now. This is a way we can get nice, 'strict' typing of our Swagger defs, more so than the API definition itself. In which case I agree this is the right way to go.
sourceAccountId
&consentId
from POST /thridpartyReqeusts/transactions@lewisdaly please double-check this PR because these are not yet documented changes - maybe I misunderstand something...