-
Notifications
You must be signed in to change notification settings - Fork 388
Conversation
Some adapters currently pass in extra info by default We need a flag so that this is not a breaking change
@@ -0,0 +1,2 @@ | |||
--- |
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.
Let the changeset empty as this is just in addition to the other PR
key, | ||
(associatedUserObj.associated_user.id = Number(value)), | ||
]; | ||
if (returnUserData) { |
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 switch statement got a more complicated with this change. Let me know if you are okay with this, or you would like this refactored into a (possibly) more readable if/else
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 think that's probably fine - this will eventually be removed so it's not the end of the world.
key, | ||
(associatedUserObj.associated_user.id = Number(value)), | ||
]; | ||
if (returnUserData) { |
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 think that's probably fine - this will eventually be removed so it's not the end of the world.
Related to #1288
WHY are these changes introduced?
Some of the adapters can pass in additional information so we need to add a flag to the
fromPropertyArray
to keep the same functionality, and remove this as possible breaking change.WHAT is this pull request doing?
Type of change
Checklist
yarn changeset
to create a draft changelog entry (do NOT update theCHANGELOG.md
file manually)