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

Pattern edges actions are duplicated for every schema that uses them #1770

Open
Swahvay opened this issue Feb 27, 2024 · 0 comments
Open

Pattern edges actions are duplicated for every schema that uses them #1770

Swahvay opened this issue Feb 27, 2024 · 0 comments

Comments

@Swahvay
Copy link
Contributor

Swahvay commented Feb 27, 2024

When a pattern creates an edge action, every schema that uses them gets that action with the same name. Presumably, they would all be the same implementation so it might make sense if they all shared the same action? But even if we want each action to be duplicated for each schema, their names are always the same. It might be nice to be able to name the action with a token or something to allow for unique names per schema. Something like:

{
  operation: ActionOperation.AddEdge,
  actionName: 'AddHorseEdgeTo{{Schema}}',
},

So ShowJumpingEntrySchema would generate an AddHorseEdgeToShowJumpingEntry action, etc. Not a huge deal, but just a thought. Atm I'm manually renaming them anyways.

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

1 participant