Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow many to many relationship between officers & radios #3

Open
AetherUnbound opened this issue Aug 28, 2022 · 0 comments
Open

Allow many to many relationship between officers & radios #3

AetherUnbound opened this issue Aug 28, 2022 · 0 comments

Comments

@AetherUnbound
Copy link
Collaborator

We have found that officers can have more than one radio, and radios can be assigned to more than one officer. We will need to alter the relationship on the DB level, but then alter how responses are returned by the API. Several downstream services are expecting only one officer per radio, so this may affect said services.

We should probably have multiple endpoints, one that returns just one officer (the current implementation) and another that returns all known officers. We will then need to figure out how to determine the "one" officer to show - should it be the most recently or least recently updated officer record?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant