Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Migrate @Group annotations #1154

@Aclrian

Description

@Aclrian

Is your feature request related to a problem?

After changes to an API, we still want to use most of the @Group annotations.

Desired solution

Migrate the @Group annotations through a mapping from old api elements to new api elements. Consider that the group parameters could also be changed and migrate the @Group Annotation only if both function are in the same function.
Otherwise, mark all the mapped method with a @Todo annotation.

Possible alternatives (optional)

No response

Screenshots (optional)

No response

Additional Context (optional)

Create the file package_parser/processing/migration/annotations/_migrate_group_annotation.py with a function to migrate an annotation with not only the one related mapping (as elsewhere) but also the mapping for
the method called before. See #1150. Which also uses more than one mapping to migrate one annotation.

Metadata

Metadata

Assignees

Labels

@groupRelated to the @group annotationenhancement 💡New feature or requestmigrationMigration of annotation to a new API versionreleasedIncluded in a release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions