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

[Malleability] Update BackData to use generic arguments instead of flow.Identifier and flow.Entity #7070

Open
Tracked by #6646
UlyanaAndrukhiv opened this issue Feb 20, 2025 · 0 comments
Assignees

Comments

@UlyanaAndrukhiv
Copy link
Contributor

UlyanaAndrukhiv commented Feb 20, 2025

Context

The current implementation of the BackData interface uses flow.Identifier and flow.Entity. The primary concern here is the unnecessary dependency on flow.Entity. The goal is to refactor BackData to eliminate this dependency by using generic arguments instead.

Proposed Solution

Refactor the BackData interface to use generic type parameters instead of depending on flow.Identifier and flow.Entity. This change will eliminate the misuse of flow.Entity.

Defenition of done

  • The BackData interface is refactored to use generic type parameters instead of flow.Identifier and flow.Entity.
  • All code using BackData is updated to work with the new generic design.
  • Tests are updated or added to ensure that the new design functions correctly without breaking existing behavior.

Related issues

#6703

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

No branches or pull requests

2 participants