- πΊπΈUnited States smustgrave
@acbramley not as familiar with that but if we put a conditional do you think that will cause issues?
- π¦πΊAustralia acbramley
@smustgrave a conditional in the validator? Yeah that could work. However, I think we should come at these argument default plugins from a different angle and look at implementing an entity type agnostic plugin that is configurable to be entity id or revision id.
Right now we have a plugin for Node, and another plugin for Taxonomy (with some really wild config that I'd never seen before!).
Most of the time people will just want a default argument that takes the entity's ID. We should be able to derive the entity type from the route, and then we don't need N plugins for N entity types. We can also let that plugin handle revisions too.