Skip to content
This repository has been archived by the owner on Feb 18, 2022. It is now read-only.

Flinkster: Filter for fuel type #28

Open
dennispost opened this issue Jul 20, 2017 · 0 comments
Open

Flinkster: Filter for fuel type #28

dennispost opened this issue Jul 20, 2017 · 0 comments

Comments

@dennispost
Copy link
Member

dennispost commented Jul 20, 2017

Add possibility to filter for petrol, diesel or electric cars

Possible query syntax:

flinksterCars {
  attributes {
    transmissionType
    fuel (fuelType = "electric")
    fillLevel
  }
}

Petrol powered car:

{
  "name": "Opel Corsa",
  "attributes": {
    "transmissionType": "manual",
    "fuel": "petrol",
    "fillLevel": 75
  }
}

Electric powered car:

{
  "name": "Citroën C-Zero",
  "attributes": {
    "transmissionType": "automatic",
    "fuel": "electric",
    "fillLevel": 68
  }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant