Skip to content

Conversation

@devmil
Copy link
Member

@devmil devmil commented Jul 26, 2025

Description

Changing the type parameter(s) of a base class currently leads to two detected changes:

  • removal of original base class (breaking)
  • addition of new base class (non-breaking)

This can be confusing. So this PR introduces a new type of change: super type change
The mentioned change in type parameters now leads to one super type change (breaking)

fixes #224

Type of Change

  • 🚀 New feature (non-breaking change)
  • 🛠️ Bug fix (non-breaking change)
  • ⚠️ Breaking change (feature or bug fix which breaks existing behaviors/APIs)
  • 🏗️ Code refactor
  • ⚙️ Build configuration change
  • 📝 Documentation
  • 🧹 Chore / Housekeeping

@devmil devmil enabled auto-merge (squash) July 28, 2025 05:08
Co-authored-by: Adam <adamgic@wp.pl>
@devmil devmil merged commit ac7dd20 into bmw-tech:main Jul 28, 2025
11 checks passed
@devmil devmil deleted the fix/2025-07-25_type-parameter-change-in-base-class branch July 28, 2025 11:49
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.

Class that adds type parameters is breaking but subclasses that then add the new type show as stops subtyping and new subtyping

3 participants