Skip to content

dynamic next urls for patient/person routers#276

Merged
ericbuckley merged 1 commit into
mainfrom
fix/remove-hardcoded-next-paths
Apr 8, 2025
Merged

dynamic next urls for patient/person routers#276
ericbuckley merged 1 commit into
mainfrom
fix/remove-hardcoded-next-paths

Conversation

@ericbuckley

@ericbuckley ericbuckley commented Apr 4, 2025

Copy link
Copy Markdown
Collaborator

Description

removing the hard-coded next url paths for our orphaned patient and person routes, and replacing with versions that are dynamically generated. The work on the roadshow concept is requiring us to reorganize our API url paths, which will in effect change the path for both of these routes. Doing this dynamically makes it easier to encapsulate all those url path changes in main.py.

<--------------------- REMOVE THE LINES BELOW BEFORE MERGING --------------------->

Checklist

Please review and complete the following checklist before submitting your pull request:

  • I have ensured that the pull request is of a manageable size, allowing it to be reviewed within a single session.
  • I have reviewed my changes to ensure they are clear, concise, and well-documented.
  • I have updated the documentation, if applicable.
  • I have added or updated test cases to cover my changes, if applicable.
  • I have minimized the number of reviewers to include only those essential for the review.

Checklist for Reviewers

Please review and complete the following checklist during the review process:

  • The code follows best practices and conventions.
  • The changes implement the desired functionality or fix the reported issue.
  • The tests cover the new changes and pass successfully.
  • Any potential edge cases or error scenarios have been considered.

removing the hard-coded next url paths for our orphaned patient and
person routes, and replacing with versions that are dynamically
generated.  The work on the roadshow concept is requiring us to
reorganize our API url paths, which will in effect change the path for
both of these routes.  Doing this dynmically makes it easier to
encapsulate all those url path changes in main.py.
@ericbuckley ericbuckley added the qa Technical improvements to increase code quality label Apr 4, 2025
@ericbuckley ericbuckley self-assigned this Apr 4, 2025
@ericbuckley ericbuckley marked this pull request as ready for review April 4, 2025 18:13
@ericbuckley

Copy link
Copy Markdown
Collaborator Author

@johanna-skylight merging this change should address the failed tests you're seeing in the monorepo branch

@codecov

codecov Bot commented Apr 4, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.92%. Comparing base (cfa718e) to head (0e30f3f).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #276   +/-   ##
=======================================
  Coverage   97.92%   97.92%           
=======================================
  Files          33       33           
  Lines        1787     1787           
=======================================
  Hits         1750     1750           
  Misses         37       37           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@johanna-skylight johanna-skylight left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks!

@ericbuckley ericbuckley merged commit ec13f4f into main Apr 8, 2025
@ericbuckley ericbuckley deleted the fix/remove-hardcoded-next-paths branch April 8, 2025 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

qa Technical improvements to increase code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants