Skip to content

Y25-548 - As a developer (Ben) I would like to be able to query all labware in a location and its child locations given a location barcode #996

@BenTopping

Description

@BenTopping

User story

As a developer (Ben) I would like to be able to query all child locations and labware for a given location. This should be a parameter of the locations endpoint or a new endpoint. This is to prevent recursively calling existing endpoints to extract all labware out of a location and its children.
This is needed for the Traction location report, Y25-534, to prevent performance issues and unnecessary requests.

Who are the primary contacts for this story

Ben T, Steve I

Acceptance criteria

Consider if these features can be featured flagged to decouple testing and deployment.
To be considered successful the solution must allow:

  • Given a parent location barcode, I can query all the labware in that location and its children locations.
  • The new endpoint or existing endpoint is performant and doesnt change any existing behaviour
  • The new endpoint or existing endpoint is thoroughly tested.

References
This story has a non-blocking relationship with:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions