cubicweb #17268423 explore mapping cubicweb routes to pyramid routes [open]

Currently with pyramid, the processing of a WSGI request follows this path:

  1. go down the pile of pyramid tweens
  2. be processed by the pyramid router (with routes added by view_config() for example)

3. if no pyramid route matches, an exception is raised and this exception is catched by the cubicweb.pyramid.bwcompat.TweenHandler. That handler transfers the control to bwcompat.CubicWebPyramidHandler to process the request.

Would it be possible to map on the fly the creation of CubicWeb routes to the creation of pyramid routes in order not to need this tween+cubicwebpyramidhandler mechanism ?

priorityimportant
typeenhancement
done in<not specified>
closed by<not specified>