Phoenix - New Route from User Input - Adding Route Programmatically

Thank you for reply.
I understand that I cannot use that as I already tried without success.
I would prefer not to create a wildcard route due to performance issues.

The question is - how to achieve the desired behaviour without losing performance.

  • It is possible to restart Router independently of Phoenix - I mean recompile it live ?
  • Just that peace of functionality, not the whole Phoenix ?