vivid-planet / comet

Comet DXP

Home Page:https://comet-dxp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StackApi: Make payload optional?

johnnyomair opened this issue · comments

For some cases (e.g. an "Add" page), it might be helpful to make the payload (which is basically the entity's ID) optional instead of creating Routes like /pages/add/new. What do you think?

How common is a page used excursively for adding?

I often used a single page for editing and adding (as the form looks basically 100% the same)

I've thought about other examples and couldn't think of any.