Skip to content

Validate destination/moon parent-child relationship in compute_route and API #10

Description

@yuuka-dev

From Copilot review on #6:

  • compute_route() doesn't validate that destination orbits the same parent as home, or that moon orbits destination
  • /calc/route API endpoint allows invalid moon/destination combinations
  • Should return 422 for invalid combinations

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions