villebro opened a new pull request #9831: URL: https://github.com/apache/incubator-superset/pull/9831
### SUMMARY The `getExploreUrlAndPayload` function is currently unnecessarily complex and returns an unmutated copy of one of its inputs (`formData`). Also, the `getURIDirectory` signature included `formData` which was never used. This PR simplifies the function signatures with the ultimate aim of breaking up the functions into smaller more specific functions. ### TEST PLAN Local testing + CI ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Changes UI - [ ] Requires DB Migration. - [ ] Confirm DB Migration upgrade and downgrade tested. - [ ] Introduces new feature or API - [ ] Removes existing feature or API ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
