ap-6083 # Changed FormSubmissionResult to not have a function on it#554
Conversation
| * `getDownloadSubmissionPdfUrl` instead. | ||
| * `downloadSubmissionPdfs` instead. | ||
| */ | ||
| downloadSubmissionPdfUrl?: string |
There was a problem hiding this comment.
Can we please make a breaking change and remove this, no need to keep maintaining it. By returning it, every thing consuming @oneblink/apps has to cater for it potentially being there with a value.
There was a problem hiding this comment.
By returning it, every thing consuming @oneblink/apps has to cater for it potentially being there with a value.
This isn't true though. Its just there for backwards compatibility. Anyone that wants to use the new config is free to do so without needing to support this, as the doc comment says.
There was a problem hiding this comment.
That being said, I'm not completely opposed to removing it, but surely we can discuss that without exaggerating.
There was a problem hiding this comment.
Ah, I see now. Not trying to exaggerate, just made a mistake. I missed the change to return the legacy data in the new array. This was not how it worked in the first commit. But I think we are on the same page in regards to continuing to support the downloadSubmissionPdfUrl property seeming redundant.
There was a problem hiding this comment.
Only thing is, I don't love the idea of an unwitting console change requiring a major version update to an apps integration. (Yes I recognise probably no one uses this).
Requester Checklist
Please only check the items that you have actioned. Do not check items that are not applicable to your PR.
Implementation
Logging and Debugging
Console.WriteLinesReadability
Security
Reviewer Guide