You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mainly convenience; it’s a case where function name is a self-annotation. It’s possible to envision lots of other ways this could be specified.
From the docs: https://www.hypergraphql.org/documentation/ <https://www.hypergraphql.org/documentation/> (note, make headings anchors) under the Schema section:
“...Types annotated with a service id are automatically made queryable, i.e., the HyperGraphQL instance automatically exposes two query fields named: TypeName_GET and TypeName_GET_BY_ID, e.g.: Person_GET and Person_GET_BY_ID. Query fields of type *_GET are parametrised with arguments limit:Int and offset:Int, while those of type *_GET_BY_ID with the argument uris:[String]”
I was wondering why the queries (in case of Person type) are called
Person_GET
&Person_GET_BY_ID
and not something likeThe text was updated successfully, but these errors were encountered: