Our entity types still use annotation discovery. Since it is backwards-compatible, we should add the attributes to both before then removing the annotation once we depend on Drupal 10.1.
Active
1.0
Code