Skip to content
New issue

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

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

Already on GitHub? # to your account

Rework the I/O handling for relations #673

Merged
merged 8 commits into from
Sep 24, 2024

Conversation

tmadlener
Copy link
Collaborator

BEGINRELEASENOTES

  • Rework the I/O handling for relations. This is mainly removing the differences in handling of interface and regular datatypes in relations.
    • Remove the conditional code generation from the jinja2 templates and add functionality that dispatches to the correct handling depending on a (c++) type check
  • Expose an interfaced_types member type for interface types and add a type helper to check whether a type is an interface type

ENDRELEASENOTES

This has fallen out as a relatively isolated change in #257, where this has become necessary to be able to handle links that contain an interface type.

@tmadlener tmadlener force-pushed the relation-io-rework branch 2 times, most recently from af032d8 to 9b7f8fa Compare September 18, 2024 10:57
This is work that has become necessary for making links work that
contain interface types.

- Remove differences in handling of interface vs regular types in the
jinja2 templates and lift it into a separate function that dispatches
depending on the type of the relation
- Make the interfaced_types type member publicly available for interface
types
- Add type helpers to detect whether a type is an interface type
@hegner hegner merged commit 86e2ba9 into AIDASoft:master Sep 24, 2024
17 of 18 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants