|
|
|
|
|
by dmitriid
2009 days ago
|
|
> What stops them is that the "ad-hoc" query can only look like this: What is "author" in that query and why can't the user do author {
name,
age,
articles {
...
}
}
in that query?And what you're basically saying is: let's create REST with extra steps for no particular reason. With extremely complex setups where author in one query has a different set of fields than in a different query etc. |
|
As for your question, why the user can't change the query (in this example) : because it violates the specifiction and will be rejected by the server.
Does it answer your questions?