Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make associations links and prepare them for a potential introduction of templated links #341

Merged
merged 13 commits into from
Jul 30, 2024

Conversation

tmadlener
Copy link
Contributor

@tmadlener tmadlener commented Jul 17, 2024

BEGINRELEASENOTES

  • Rename the members of the associations to from and to in preparation for a transparent introduction of templated associations in podio (Add templated links between arbitrary datatypes AIDASoft/podio#257)
    • Add (immediately deprecated) compatibility getters and setters that keep the current behavior on the API side.
  • Rename Association to Link and make naming more consistent
    • Add (immediately deprecated) compatiblity typedefs and headers to keep the current behavior.

ENDRELEASENOTES

PRs to keep things working downstream after this has been merged:

edm4hep.yaml Outdated Show resolved Hide resolved
@tmadlener tmadlener force-pushed the prepare-podio-associations branch from 18f56a1 to d95a41b Compare July 18, 2024 08:56
edm4hep.yaml Outdated Show resolved Hide resolved
@tmadlener tmadlener force-pushed the prepare-podio-associations branch 2 times, most recently from a734aee to 46065fd Compare July 29, 2024 15:40
@tmadlener
Copy link
Contributor Author

This now implements the final proposal from #344 for the naming of the types as well. In my local testing this is fully transparent and we can deal with deprecation warnings in downstream packages without blocking this.

@tmadlener tmadlener changed the title Rename association relations and add extra code for compatibility Make associations links and prepare them for a potential introduction of templated links Jul 30, 2024
@tmadlener tmadlener force-pushed the prepare-podio-associations branch from 2dcc3d8 to 2bf9180 Compare July 30, 2024 08:30
@jmcarcell
Copy link
Member

Note that something that is not transparent is python bindings but I don't think we have lots of them for Links.

jmcarcell added a commit to key4hep/k4MarlinWrapper that referenced this pull request Aug 6, 2024
jmcarcell added a commit to key4hep/k4FWCore that referenced this pull request Aug 9, 2024
jmcarcell added a commit to key4hep/k4FWCore that referenced this pull request Aug 9, 2024
jmcarcell added a commit to key4hep/k4Reco that referenced this pull request Aug 9, 2024
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.

Names of association types
3 participants