We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Imagina an Endpoint:
public class Person { @Id IdRef<Person> id; @Index String name; @Index IdRef<Address> addressId; }
We can have an automatic API like this: /api/people?name=john.
/api/people?name=john
Finally, if it is an IdRef attribute, we can convert it automatically: /api/people?addressId=10
/api/people?addressId=10
Today it is possible to achieve those simple APIs with the aid of a Hook.
The text was updated successfully, but these errors were encountered:
What about /api/people?q={w:['name, '=', 'John']}?
/api/people?q={w:['name, '=', 'John']}
We can keep both, the new for simplicity and the current for completeness.
Sorry, something went wrong.
@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!
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: