grtjn/Corona — comment on commit 5684c065103d22caa8a93bac38354d166e724d3b
File: config/endpoints.xqy line 132
By isubiker:

I can see why separating thees out makes some sense but at this point it isn't a good idea. This is due to the fact that the modules (eg: /corona/transaction.xqy) need to be able to get access to their request definition. This is done by passing in the name of their endpoint:

rest:process-request(endpoints:request("/corona/transaction.xqy"))

However, there is now two different request definitions that specify that endpoint. This gets to be a problem with the defined parameters in those two definitions differs.