I am getting myself up to speed with ArangoDB and Foxx, and so far the experience has been great! I have however one question:
For the Foxx router one can specify queryParams, for instance /graph/nodes?eyes=blue&hair=blond
.
What bothers me though is that I am forced (or at least, after several attempts I have such impression) that I have to hard code that I am expecting query params of eyes
and hair
.
Is this indeed true? And if yes, is there a work around? For me this is a bit strange within the context of nosql and being able to store documents with whatever attributes one wants in a collection.
I'd rather have that I can e.g. fetch the whole part of the URL after ?
, do a split("&")
on the string and catch whatever was part of the request.
Is there a way to do this within the Foxx framework?
Any help would be greatly appreciated!