Problem
One major problem I have run into during my work on #1839516: Introduce entity operation providers is that there is NO relationship between operations and paths/routes. The current situation uses entity types' route_base_path definitions and suffixed it with the operation and that works in most cases, but it needs the occasional overwrite. Next to that, entity type annotations have a "link" property that provides path templates based on IANA's Link Relations, which is not sufficient for what we need to do on the server side, and also uses paths instead of route names.
Proposal
Introduce a link between operations and route paths, so we can generate links for specific entity operations in a consistent and foolproof way.
Comments
Comment #1
andypostRelated #2019123: Use the same canonical URI paths as for HTML routes
Comment #2
XanoTo be clear, there are two main problems:
Comment #3
XanoEntity link templates now map entity operations to route names. This was fixed elsewhere.