Skip to content

Conversation

FilipCuper
Copy link

@FilipCuper FilipCuper commented Oct 9, 2025

  • Migrated from /exercise/search/ to /exerciseinfo/ endpoint
  • Updated query parameters (term->name__search, language->language__code)
  • Added data transformation from exerciseinfo format to ExerciseSearchResponse
  • Added error handling for invalid responses"

- Migrated from /exercise/search/ to /exerciseinfo/ endpoint
- Updated query parameters (term->name__search, language->language__code)
- Added data transformation from exerciseinfo format to ExerciseSearchResponse
- Added error handling for invalid responses"
@rolandgeider
Copy link
Member

sorry, I meant we completely throw away ExerciseSearchResponse and just return regular exercise objects! then we don't have to keep two things around that basically do the same thing

- Removed ExerciseSearchResponse transformation layer
- Changed searchExerciseTranslations to return Exercise[] directly
- Updated NameAutocompleter to work with Exercise objects
- Updated ExerciseOverview callback to use Exercise.id
- Uses ExerciseAdapter for data transformation
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