Skip to content

Remove V2 namespacing from shared resources and factories - #2350

Merged
DavidBiddle merged 12 commits into
mainfrom
remove-v2-from-names
Sep 21, 2026
Merged

DavidBiddle merged 12 commits into
mainfrom
remove-v2-from-names

Conversation

@DavidBiddle

@DavidBiddle DavidBiddle commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

What problem does this pull request solve?

Trello card:
There are some resources in the V2 API that we're also using in the new V3 API. It could be confusing to keep the existing namespacing, and it would be duplicative to create new versions for the new API when they're not changing.

This PR:

  • removes the V2:: namespacing from the resources that are shared across both API versions
  • renames the v2_ factories.

Things to consider when reviewing

  • Ensure that you consider the wider context.
  • Does it work when run on your machine?
  • Is it clear what the code is doing?
  • Do the commit messages explain why the changes were made?
  • Are there all the unit tests needed?
  • Do the end to end tests need updating before these changes will pass?
  • Has all relevant documentation been updated?

We want to remove a lot of the references to `v2` as these resources and factories will be used in v3 requests as well.
We want to remove a lot of the references to `v2` as these resources and factories will be used in v3 requests as well.
We want to remove a lot of the references to `v2` as these resources and factories will be used in v3 requests as well.
We want to remove a lot of the references to `v2` as these resources and factories will be used in v3 requests as well.
We want to remove a lot of the references to `v2` as these resources and factories will be used in v3 requests as well.
We want to remove a lot of the references to `v2` as these resources and factories will be used in v3 requests as well.
We want to remove a lot of the references to `v2` as these resources and factories will be used in v3 requests as well.
We want to remove a lot of the references to `v2` as these resources and factories will be used in v3 requests as well.
This resource is shared between the v2 and v3 APIs, so this namespace can be removed.
This resource is shared between the v2 and v3 APIs, so this namespace can be removed.
This resource is shared between the v2 and v3 APIs, so this namespace can be removed.
This resource is shared between the v2 and v3 APIs, so this namespace can be removed.
@DavidBiddle
DavidBiddle marked this pull request as ready for review September 18, 2026 14:33
@github-actions

Copy link
Copy Markdown
Contributor

🎉 A review copy of this PR has been deployed! It is made of up two components

  1. A review copy of forms-runner
  2. A production copy of forms-admin

It may take 5 minutes or so for the application to be fully deployed and working. If it still isn't ready
after 5 minutes, there may be something wrong with the ECS task. You will need to go to the integration AWS account
to debug, or otherwise ask an infrastructure person.

For the sign in details and more information, see the review apps wiki page.

@DavidBiddle
DavidBiddle added this pull request to the merge queue Sep 21, 2026
Merged via the queue into main with commit 30cb29e Sep 21, 2026
4 checks passed
@DavidBiddle
DavidBiddle deleted the remove-v2-from-names branch September 21, 2026 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants