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

Feature/agent location api #104

Merged
merged 4 commits into from
Aug 6, 2024
Merged

Conversation

lukavdplas
Copy link
Contributor

Two minor backend changes:

  • Agent-location relations are now one-to-one (i.e. agents cannot have multiple locations)
  • Adds the agent's location to the AgentDescription query in the GraphQL API

Copy link
Contributor

@XanderVertegaal XanderVertegaal left a comment

Choose a reason for hiding this comment

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

Nice! The only thing that I could see as a potential cause for confusion is that we now have a nested location field, one for the AgentDescriptionLocation through model and one for the SpaceDescription field on that model.

image

I'm struggling to find a good naming alternative to disambiguate the two, but if you're not bothered by it, then feel free to merge.

@lukavdplas lukavdplas merged commit 7c5985c into develop Aug 6, 2024
2 checks passed
@lukavdplas lukavdplas deleted the feature/agent-location-api branch August 6, 2024 14:58
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