ent icon indicating copy to clipboard operation
ent copied to clipboard

Pattern edges actions are duplicated for every schema that uses them

Open Swahvay opened this issue 1 year ago • 0 comments

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.

Swahvay avatar Feb 27 '24 02:02 Swahvay