Open feroult opened 8 years ago
What about /api/people?q={w:['name, '=', 'John']}
?
We can keep both, the new for simplicity and the current for completeness.
@luanpotter this is getting close to what Facebook presented early this year with graphql: https://facebook.github.io/react/blog/2015/05/01/graphql-introduction.html
@luanpotter, agreed!
Imagina an Endpoint:
We can have an automatic API like this:
/api/people?name=john
.Finally, if it is an IdRef attribute, we can convert it automatically:
/api/people?addressId=10
Today it is possible to achieve those simple APIs with the aid of a Hook.