Hello,
In order to limit the number of formula in a pack, i’m considering to use an additional parameter in a formula.
For example:
- Reservation(id,info) → Return all information for a reservation with the id, whose the guests
- Reservation(id,guests) → Return a list of the guests in the reservation with the id
In case 1, i return an object as a resultType. Therefore in case 2, i return an array.
Is it possible to make it works with a parameter?
Or, is it advised to use 2 separates formulas?
Exemple : ReservationInfo(id) and ReservationGuests(id)
Thank you in advance for the help.