Skip to content

Conversation

@mroloux
Copy link
Member

@mroloux mroloux commented Nov 12, 2025

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enables updating categories and objectCategories for seasons. The implementation follows the existing pattern from events, allowing season-level category customization.

  • Added categories and objectCategories fields to SeasonParams with corresponding accessor methods
  • Updated Seasons.create() and Seasons.update() methods to send these new fields to the API
  • Added comprehensive test coverage for updating both objectCategories and categories

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
UpdateSeasonTest.java Added tests for updating objectCategories and categories on seasons
Seasons.java Updated create and update methods to include objectCategories and categories in API requests
SeasonParams.java Added objectCategories and categories fields with getter/setter methods and JSON conversion

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@mroloux mroloux merged commit d8527c8 into master Nov 12, 2025
2 checks passed
@mroloux mroloux deleted the matti/season-update-categories-object-categories branch November 12, 2025 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants