This repository has been archived by the owner on May 9, 2023. It is now read-only.
Last and first built-in synthetic fields on list fields #9
Labels
enhancement
New feature or request
Description
Given a subgraph with a query field
entities
of type[Entity!]!
, thenentities.first
andentities.last
should produce a field path that represents the first and last of those entities ordered bytimestamp
(by default). Iftimestamp
is not a valid field of entityEntity
, then the field by which to order the entities can be specified using theorderBy
argument.Example
The text was updated successfully, but these errors were encountered: